4 ms·
> I honestly don't know any daily workload that requires short time bursts. JavaScript.
by Marsymars 4y ago
> I honestly don't know any daily workload that requires short time bursts.
JavaScript.
- rowanG077 4y agoWhy does JavaScript require short time bursts? In fact I don't see at all how a LANGUAGE requires short time bursts. that's way to generic. Some applications written in JS might require short time burst performance.
- Marsymars 4y agoThe standard use of JS when loading www pages in a browser scales nearly perfectly with frequency during short single-threaded bursts.
- rowanG077 4y agoI doubt this. Web pages are bottle necked by network latency and throughput. My phone for example is just as snappy loading websites then my desktop. In fact to be sure I just tested loading reddit(A bloated JS heavy site) twice. One with my CPU with turbo boost and one time with my CPU without turbo boost. Chrome reports a load time of about 3.98 seconds with turbo boost and 4.01 with turbo boost. The dominating factor according to the performance tab is just http requests. I don't see how 30ms of less load time is significant. And that is with one of the bloatest JS sites in use today.
- Marsymars 4y agoIs reddit actually JS-heavy? On my work desktop with Chromium, loading facebook.com takes me 7.2s with 4.7s of that being scripting. If I throttle the CPU to a 4x slowdown in Chromium devtools it takes 46.2s with 42.4s of that being scripting. (Only a single run of each.) Unfortunately in the middle of some work stuff so I don't want to reboot to toggle off turbo boost to test.