JavaScript:New to SpiderMonkey: Difference between revisions

Jump to navigation Jump to search
Line 43: Line 43:
It builds. Hurray. Time to run the tests to check you haven't broken anything.  
It builds. Hurray. Time to run the tests to check you haven't broken anything.  


  python trace-tests/trace_test.py build_DBG.OBJ/js
  jit-tests/jit_test.py build_DBG.OBJ/js


The trace tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests:  
The trace tests are pretty quick, and should give you an idea if you've gotten something wrong. Assuming nothing goes wrong, try the ref-tests:  


  python tests/jstests.py build_DBG.OBJ/js --args="-j"
  tests/jstests.py build_DBG.OBJ/js --args="-j"


==== Benchmark your changes ====
==== Benchmark your changes ====
120

edits

Navigation menu