X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.
Scheduled maintenance: Monday, March 30, between 3:30pm and 5:30pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

Hilfeforum

Firefox with a terrible BigInt support in JS

Veröffentlicht

Firefox is my favourite browser, but it has some problems. Although the team managed to fix memory leak issues with BigInt in js, but the performance is 3x slower than NodeJS compared to the latest spidermonkey (75.0b6).

To test out, I have created a simple pi calculator (open source), the website is: http://picalc.rf.gd/

The source code can be found on github, or just by clicking the "View Page Source". It seems impossible to get past 4,000 digits of Pi in firefox but in chromium I can calculate about 10,000 digits in the time firefox does 4,000 digits.

Previously, in the earlier versions (73 I guess), the memory went all the way up to 4 gigabytes while trying to calculate 5,000 digits, it's now (my current firefox version is 75.0b4, developer edition).

For the benchmarks, I have also tried NodeJS and Firefox's Spidermonkey.

Firefox is my favourite browser, but it has some problems. Although the team managed to fix memory leak issues with BigInt in js, but the performance is 3x slower than NodeJS compared to the latest spidermonkey (75.0b6). To test out, I have created a simple pi calculator (open source), the website is: http://picalc.rf.gd/ The source code can be found on github, or just by clicking the "View Page Source". It seems impossible to get past 4,000 digits of Pi in firefox but in chromium I can calculate about 10,000 digits in the time firefox does 4,000 digits. Previously, in the earlier versions (73 I guess), the memory went all the way up to 4 gigabytes while trying to calculate 5,000 digits, it's now (my current firefox version is 75.0b4, developer edition). For the benchmarks, I have also tried NodeJS and Firefox's Spidermonkey.

Geändert am von Sourav

Zitieren

Mehr Details zum System

Installierte Plugins

  • Shockwave Flash 32.0 r0

Anwendung

  • User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Weitere Informationen

Roland Tanglao
  • Top 25 Contributor
  • Administrator
76 Lösungen 847 Antworten
Veröffentlicht

Hilfreiche Antwort

HI Sourav:

Please post developer questions on stack overflow and tag them firefox: https://stackoverflow.com/questions/tagged/firefox

There are a few developer-oriented folks here but most people helping here are not developers and all of us are more focused on user issues rather than software development issues.

Cheers!

...Roland

HI Sourav: Please post developer questions on stack overflow and tag them firefox: https://stackoverflow.com/questions/tagged/firefox There are a few developer-oriented folks here but most people helping here are not developers and all of us are more focused on user issues rather than software development issues. Cheers! ...Roland
Hat Ihnen das weitergeholfen? 1
Zitieren
Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.