https://github.com/jimblandy/benchmark-debugger
Simple benchmarks for SpiderMonkey's Debugger API
https://github.com/jimblandy/benchmark-debugger
Last synced: 3 months ago
JSON representation
Simple benchmarks for SpiderMonkey's Debugger API
- Host: GitHub
- URL: https://github.com/jimblandy/benchmark-debugger
- Owner: jimblandy
- Created: 2013-10-11T22:38:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-11T22:39:14.000Z (over 11 years ago)
- Last Synced: 2025-03-17T16:03:26.884Z (3 months ago)
- Language: Shell
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Measure the performance impact of [Debugger](https://wiki.mozilla.org/Debugger),
the debugging API of Mozilla's [SpiderMonkey](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey)
JavaScript engine, when running the [Esprima](https://github.com/ariya/esprima) parser on its own source.You will need:
- A SpiderMonkey shell executable, built with debugging disabled and
optimization enabled.
- A copy of the [Esprima](https://github.com/ariya/esprima) source code.
You can simply point it **esprima.js** from a git checkout:
[email protected]:ariya/esprima.gitEdit those into **bench.sh**.
Things to try if you want to bring the standard deviation down:
- Make sure CPU throttling is disabled. You don't want the later benchmarks
to run more slowly just because the processor got hot.
- Look out for noisy processes like web browsers, mail readers,
artificially intelligent text editors, ...
- Disable networking, perhaps?
- Run directly from the console, to avoid GUI futzing altogether?