The Mining Pit

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
Maybe browsers get strict about executing WebAssembly, it becomes a thing like "Don't enable ActiveX bro!!!". I don't think people really considered miners at the time, and just assumed the fact it's sandboxed like regular JS was enough to avoid abuse. WebAssembly can be disabled without affecting existing JS so it's not like the browser is agnostic when it comes to it: https://github.com/stevespringett/disable-webassembly

There's very few uses of WebAssembly at the moment, games, mostly. If the internet becomes less dependent overall on JavaScript because of miners I'd call that a good thing.
webassembly is the first step in making web decent, aka fast. Once it's mature maybe I will look into making web applications. For now though, web uses way too much javascript for my liking. It's ugly and slow, the faster it's out the better.
What we need is a ressource monitor for browsers telling you which tab/script is using cpu/memory/sound/bandwidth and kill/restrict the things that use too much. Google saw it, browsers become more and more entire operating systems. Imagine if windows started restricting which program could run based on cpu usage instead of offering the task manager.
Can we please go towards "tools that work" instead of assuming everyone is an idiot this time?
 
What we need is a ressource monitor for browsers telling you which tab/script is using cpu/memory/sound/bandwidth and kill/restrict the things that use too much. Google saw it, browsers become more and more entire operating systems.

And yet Chrome doesn't have the functionality of other similar operating systems, or at least pseudo-OSes. When we first started this, I had to spend a couple hours just to figure out crude, convoluted ways of figuring out exactly what was sucking up CPU. Even with the (somewhat neat) Javascript console in Chrome, it's pretty opaque.

You can't really directly tell how many resources a script is using (at least not any easy way I could figure out although I'm dumb at this shit). The closest I could get was stopping the script, using something like top to track usage, then starting it and seeing what lit up.
 
I doubt it. Chances are dude is just lying.

Didn't think it was worth mentioning at the time but Kaspersky freaks out when you visit this site, I had to whitelist it to get it to stop spazzing. It did it when we were with Coinhive and I had to whitelist again when the responsible domain changed.

Yes yes, cue the FSB jokes.
 
I just got a warning in Safari Version 11.0 (11604.1.38.1.7) OS El Capitan that the website was using too much energy so it was reloaded. System wasn't otherwise running slowly, activity set to 10% because old macbook.
 
Untitled.png

shift-escape in chrome. It's built-in. It makes sense, really.
 
Noticed that I had a bit of a bump in CPU usage for a few minutes, didn't know what caused it, but decided to see if the site had it's miner back up and sure enough it does. Bit of an increase from before in terms of overall CPU usage, but nothing too major for me. Some people will notice it if they're used to running a lot of tabs on Chrome.

Currently CPU usage is around 54% on average. I tend not to see any more than 20% here.

Edit
Seems that my old AMD here wanted to turbo boost for a bit while here which had caused some problems. Still seeing 20%-45% CPU usage, but these random spikes are common with this thing. Problem on my side seems to be fixed after I did some work on my side and put the miner to 10%. This laptop no longer wants to overheat.
 
Last edited:
So out of curiosity. How much am I making money wise if I have my tab open for about 8 hours a day and have the activity up to %100?
 
So out of curiosity. How much am I making money wise if I have my tab open for about 8 hours a day and have the activity up to %100?
Independently it's not much, but that hardly matters. You can use this calculator to figure it out.
http://whattomine.com/coins/101-xmr...0.0&fee=0.0&cost=0&hcost=0.0&commit=Calculate

At 50hps 24/7 for a month it generates about $2.50 right now for the site. Most contributors are doing less than half of that. What matters is that a thousand people are doing it.
 
View attachment 295925
shift-escape in chrome. It's built-in. It makes sense, really.
Running 12 threads at 30% seems like a bad configuration to me. You'd probably get more hashes and less performance hit if threads were reduced but more active. The developers responded to "how many threads" over here: https://www.reddit.com/r/Monero/comments/4b9w1l/mining_how_many_threads/

The most you should ever use is the number of CPU cores you have. The most you should use, for max performance and efficiency, is the size of your CPU's level 2 cache, divided by 2MB.
 
The thread switching performance impact should still be minimal.
 
Back