Closed
Bug 1722218
Opened 4 years ago
Closed 4 years ago
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug)
Details
https://codepen.io/shubniggurath/pen/oNZLQJW lags a lot. It is slow in Chrome too, whuch probably implies its a poorly written demo
I am filing this bug only to see if there is anything obvious we can improve. If nothing is low-hanging or easy, I will be happy to WONTFIX.
Comment 1•4 years ago
|
||
It looks like 1/3 of the total time is spent in the following function;
function e(t2, a2) {
if (!Object.prototype.hasOwnProperty.call(t2, a2))
throw new TypeError("attempted to use private field on non-instance");
return t2;
}
It looks like a polyfill for private fields. I expect it would be faster if the demo used the native private fields implementation (available in Firefox 90).
Comment 2•4 years ago
|
||
Iain, do you think we should investigate this issue, or close this bug?
Severity: -- → S4
Type: task → defect
Flags: needinfo?(iireland)
Priority: -- → P3
Comment 3•4 years ago
|
||
Given that it's also slow in Chrome, and there's an obvious way to fix the demo, I think it's fine to close this.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(iireland)
Resolution: --- → WONTFIX
Updated•2 years ago
|
Blocks: sm-codepen-slower
You need to log in
before you can comment on or make changes to this bug.
Description
•