Confirmed users
33
edits
m (Fix typo) |
(IRC => Matrix) |
||
| Line 56: | Line 56: | ||
cd SunSpider | cd SunSpider | ||
./sunspider --shell= | ./sunspider --shell=<path-to-shell>/dist/bin/js --run=30 --suite=sunspider-0.9.1 | ||
cd .. | cd .. | ||
===== Optimized build ===== | ===== Optimized build ===== | ||
Whoops, we benchmarked the debug version. Let's make an optimized build | Whoops, we benchmarked the debug version. Let's make an optimized build. Follow the [https://firefox-source-docs.mozilla.org/js/build.html#optimized-builds build instructions] and make sure your MOZCONFIG has: | ||
ac_add_options --disable-debug | |||
ac_add_options --enable-optimize | |||
Repeat the sunspider steps above, and take note of the line that looks like: | Repeat the sunspider steps above, and take note of the line that looks like: | ||
| Line 98: | Line 95: | ||
cd SunSpider | cd SunSpider | ||
./sunspider-compare-results --shell= | ./sunspider-compare-results --shell=<path-to-shell>/dist/bin/js --suite=sunspider-0.9.1 FILE1-withoutPatch FILE2-withPatch | ||
=== Get a real bug === | === Get a real bug === | ||
| Line 104: | Line 101: | ||
At this point, you've seen nearly everything you need to do hack on SpiderMonkey. So it's time to get a real bug to work on. You can get a bug on [http://www.joshmatthews.net/bugsahoy/?jseng=1&unowned=1 Bugs Ahoy]. | At this point, you've seen nearly everything you need to do hack on SpiderMonkey. So it's time to get a real bug to work on. You can get a bug on [http://www.joshmatthews.net/bugsahoy/?jseng=1&unowned=1 Bugs Ahoy]. | ||
Fix the bug, updating the bug report with your progress, and asking questions as you go (either in the bug comments, or in [ | Fix the bug, updating the bug report with your progress, and asking questions as you go (either in the bug comments, or in the [https://chat.mozilla.org/#/room/#spidermonkey:mozilla.org SpiderMonkey room] on Matrix). When it's done, repeat all the steps above. Then it's time to get your patch into the tree. | ||
=== Submit a patch === | === Submit a patch === | ||