JS demo (https://www.fxhash.xyz/generative/19682 ) takes 30 seconds to load on Nightly, Chrome takes 8 seconds
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
If you are on Windows, disable d2d (else the demo is dominated by gfx stuff).
go to https://www.fxhash.xyz/generative/19682
Click on the "open" button
Nightly: https://share.firefox.dev/3IZxpYV
Chrome: https://share.firefox.dev/3R9lpGp
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
this may be something to do with Private fields..
Comment 2•2 years ago
|
||
Most of the time seems to be spend parsing functions using the Function
constructor.
Comment 3•2 years ago
|
||
(In reply to Tom S [:evilpie] from comment #2)
Most of the time seems to be spend parsing functions using the
Function
constructor.
Yeah, this might be bug 1420440. If we're passing the same string to this constructor, V8 can use the eval cache.
Updated•2 years ago
|
Reporter | ||
Comment 4•2 years ago
|
||
Surprisingly, Bug 1817640 - extract calculation of max dirty value to a helper method EffectiveMaxDirty(), r=pbone improved this testcase from 45seconds->30seconds.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 5•1 year ago
•
|
||
Enabling the profiler on this testcase adds ~50% overhead, which seems excessive.
Without profiler: 28s
With profiler: 42s https://share.firefox.dev/3GLEs56
Edit: Filed bug 1870428
Description
•