jsapi-tests subtests have very high overhead
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(1 file)
I was looking at nbp's JIT ABI test. It generates a large number of subtests (sorry, this terminology doesn't really match the code). Each subtest creates a new context/runtime and global, then shuts it down at the end. The whole test takes about 2.5 minutes to run on my machine. If I remove the overhead, it takes about 0.5 seconds (a 322x speedup!).
The overhead appears to be almost entirely from compiling the self-hosted code.
Assignee | ||
Comment 1•5 years ago
|
||
Cons: (1) messy, (2) may be unnecessary once Stencil allows better caching of self-hosted code.
Pros: 322x faster for testJitABIcalls.
Comment 3•5 years ago
|
||
Backed out changeset 52f41e8893b6 (Bug 1669306) for causing failures in RootingAPI.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/6d691612e4539f0376841789c11a35b0211f4b02
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=318491553&repo=autoland&lineNumber=7450
Comment 5•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Description
•