Skip to content
Snippets Groups Projects
  • Till Schneidereit's avatar
    7ae29d49
    Enable parallel test execution in console runner · 7ae29d49
    Till Schneidereit authored
    Adds a `-j`/`--workers-count` parameter to `tools/packaging/test262.py`, defaulting to `[number of cores] - 1`.
    
    Speeds up running the test suite by about ~3x on my 4-core machine, with the SpiderMonkey shell. This could certainly be optimized more by just appending test results to per-thread lists and merging them at the end, but it's better than nothing.
    7ae29d49
    History
    Enable parallel test execution in console runner
    Till Schneidereit authored
    Adds a `-j`/`--workers-count` parameter to `tools/packaging/test262.py`, defaulting to `[number of cores] - 1`.
    
    Speeds up running the test suite by about ~3x on my 4-core machine, with the SpiderMonkey shell. This could certainly be optimized more by just appending test results to per-thread lists and merging them at the end, but it's better than nothing.