Improve the GC microbenchmark framework
Categories
(Core :: JavaScript: GC, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
I wanted to use this framework to help visualise what was happening in bug 1873235. While doing so I made some improvements.
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Currently this doesn't load for me in Chrome or Safari because of different
async behaviour around loading modules.
The patch waits for dynamic imports to finish before accessing the tests in
onload().
Assignee | ||
Comment 2•1 year ago
|
||
To make this look nicer we can use a high DPI canvas where available. Mostly
this involves scaling all the draw coordinates.
I did also make the canvas slightly smaller so that you can more easily see
both timing and memory information when both are displayed.
Assignee | ||
Comment 3•1 year ago
|
||
This also removes min memory sizes as these are usually always zero or very small
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
This removes the decimal part of these numbers where possible, e.g. displaying
8K for 8192 bytes rather than 8.00K.
https://hg.mozilla.org/mozilla-central/rev/287def1730a5
https://hg.mozilla.org/mozilla-central/rev/ff762c6165e3
https://hg.mozilla.org/mozilla-central/rev/dd565811c677
https://hg.mozilla.org/mozilla-central/rev/bae152868933
https://hg.mozilla.org/mozilla-central/rev/8fdf8a4ed06e
https://hg.mozilla.org/mozilla-central/rev/6e217087e030
Description
•