Closed
Bug 1816222
Opened 2 years ago
Closed 2 years ago
JS demo spends a lot of time in JS (However, Nightly is faster than Chrome)
Categories
(Core :: JavaScript Engine, task, P5)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
16.46 KB,
text/html
|
Details |
See attached testcase.
Nightly: https://share.firefox.dev/3DYUJCu
I have filed this in case there is anything obviously slow here, or there are any low-hanging fruits.
But since Nightly is faster than Chrome here, I would say this is a low priority/WONTFIX/INVALID etc.
Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Severity: -- → S4
Priority: -- → P5
Comment 2•2 years ago
|
||
The algorithm for constructing the maze can certainly be optimized by doing something completely different, and computing a tree of connected areas, where zones are being connected to one another by removing walls which are at the boundary between areas.
The current algorithm is most likely O(n²) as it will iterate over unreachable blocks to connect them to one another. Thus showing up in the profile.
So, not a benchmark of interest from my point of view.
You need to log in
before you can comment on or make changes to this bug.
Description
•