←back to thread

UK Electricity Generation Map

(www.energydashboard.co.uk)
173 points zeristor | 4 comments | | HN request time: 0s | source
Show context
HPsquared ◴[] No.45114746[source]
Is there any way to turn off the animation? I'm getting about 5 FPS viewing on mobile.
replies(2): >>45114860 #>>45125019 #
1. arethuza ◴[] No.45114860[source]
It's actually faster on my relatively new phone than on my ancient desktop!
replies(1): >>45120183 #
2. dijit ◴[] No.45120183[source]
fun fact, the marriage of hardware and phone browsers (especially iOS) allow full utilisation of floating point calculations for javascript (since every “number” is a float of course).

ARM is literally tweaking CPUs to be better at running Javascript: for example ARMv8.3 added a new float-to-int instruction with errors and out-of-range values handled the way that JavaScript wants.

Meaning, yes, typically, the most powerful devices for browsing the web are in fact phones.

Webapps that perform fine on an iPhone 14 can cause the latest i9-14900k to choke.. It’s hilarious.

This is part of why the Apple M-Series CPUs feel like magic. Lots of electron apps suddenly perform very well.

replies(1): >>45124789 #
3. arethuza ◴[] No.45124789[source]
Yeah, my phone is a iPhone 15 Pro and my desktop PC is an i7-4790
replies(1): >>45127855 #
4. dijit ◴[] No.45127855{3}[source]
Well, that's a 1.5-2y old phone vs a 11-12 year old PC.

Also, I had that same CPU, it was a beast. :)

I meant the other way, years old phones are trouncing brand new top of line CPUs.