Stress tests should test the jsc profiler (-p)
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Sep 2013 21:36:54 +0000 (21:36 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Sep 2013 21:36:54 +0000 (21:36 +0000)
commit9ea0ec908baec6208179124b0e9be98050687069
tree50ae9df39013e7d1a77a9881a85682c294d49d1d
parent50eaa066d0591d3aaf8029a5c449525a1b269e43
Stress tests should test the jsc profiler (-p)
https://bugs.webkit.org/show_bug.cgi?id=121043

PerformanceTests/SunSpider:

Reviewed by Mark Hahnenberg.

Add a jsc-stress-test that tries to profile SunSpider.

* profiler-test.yaml: Added.

Tools:

Reviewed by Mark Hahnenberg.

Add a runProfiler command that all tests could use. This requires profiler-test-helper,
which first runs the JS test and then tries the output with display-profiler-output.
But if any of the things required for this to work aren't present, we just do a simpler
test that just uses "-p".

Because I didn't want to pollute SunSpider with "//@ runProfiler", I added the ability
to create test collections using a yaml file that specifies the test path and the
command to run.

* Scripts/jsc-stress-test-helpers: Added.
* Scripts/jsc-stress-test-helpers/profiler-test-helper: Added.
* Scripts/run-javascriptcore-tests:
* Scripts/run-jsc-stress-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/SunSpider/ChangeLog
PerformanceTests/SunSpider/profiler-test.yaml [new file with mode: 0644]
Tools/ChangeLog
Tools/Scripts/jsc-stress-test-helpers/profiler-test-helper [new file with mode: 0644]
Tools/Scripts/run-javascriptcore-tests
Tools/Scripts/run-jsc-stress-tests