News for hackers. Stuff that matters.
Re:A Million Digits of Pi in 9 Lines of JavaScript by tombert on Thursday September 12, 2019 @02:45PM (#20954892)
Wow, I wonder why Firefox is so much slower? Quantum seems pretty zippy overall, but maybe that's largely due to fast rendering speeds?

Does anyone on the Spidermonkey team have some insight?

Re:A Million Digits of Pi in 9 Lines of JavaScript by opencl on Thursday September 12, 2019 @03:30PM (#20955409)
https://bugzilla.mozilla.org/show_bug.cgi?id=1366287

The open issues this bug depends on is a pretty good list of bigint-related performance enhancements that haven't been implemented yet.

Re:A Million Digits of Pi in 9 Lines of JavaScript by war1025 on Thursday September 12, 2019 @03:00PM (#20955082)
Looks like they are using big integers, which I'd guess isn't something that comes up a lot, so probably hasn't been optimized for too much.
Re:A Million Digits of Pi in 9 Lines of JavaScript by ehsankia on Thursday September 12, 2019 @10:16PM (#20958540)
It is pretty new, and as you mention not many websites use them yet, so I'm sure there are more important optimizations the Firefox team is focusing on for now.
Re:A Million Digits of Pi in 9 Lines of JavaScript by Porygon on Thursday September 12, 2019 @03:30PM (#20955415)
What is benchmarked here is basically the performance of the division operation on big integers and does not represent the general performance of a browser for everyday tasks.