Open
Bug 1733471
Opened 3 years ago
Updated 2 years ago
[Speedometer] p.createElement function in React-TodoMVC subtest takes 5x longer than Chrome
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
NEW
People
(Reporter: denispal, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [sp3-react-todomvc])
In the react-todomvc test from speedometer, you can see that p.createElement takes a very long time to execute versus in Chrome. This one function is contributing to a lot of the performance difference for this test.
Chrome profile: https://share.firefox.dev/3zWgHBA
Firefox profile: https://share.firefox.dev/39RtYk7
To run it, go to https://browserbench.org/Speedometer2.0/InteractiveRunner.html and only select the React-TodoMVC subtest.
Comment 1•3 years ago
|
||
Here's the unminified code.
Reporter | ||
Comment 2•3 years ago
|
||
This same problem seems to also exist in the React-redux suite. As an example, I.createElement() takes 66ms in Firefox and 11ms in Chrome
React-redux profiles:
Firefox: https://share.firefox.dev/39VO6S7
Chrome: https://share.firefox.dev/2Y9vHOZ
Updated•3 years ago
|
Blocks: sm-defects-benchmark, ReactDOMPerf
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•2 years ago
|
Whiteboard: [sp3:react-todomvc]
Updated•2 years ago
|
Whiteboard: [sp3:react-todomvc] → [sp3-react-todomvc]
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-4
You need to log in
before you can comment on or make changes to this bug.
Description
•