Move slow-running microbenchmarks out of JSTests/microbenchmarks
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 01:48:18 +0000 (01:48 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Feb 2017 01:48:18 +0000 (01:48 +0000)
commit230b9b6aa3e46f23b862a6e813ee6fdabbdb6d55
tree372934bd8ef57b0a3cccd58881b651bbf2e203b7
parent694dad1c9ebcc1098789616dedb706fc78403db7
Move slow-running microbenchmarks out of JSTests/microbenchmarks
https://bugs.webkit.org/show_bug.cgi?id=167676

Reviewed by Saam Barati.
JSTests:

The microbenchmarks directory is profitable when it's cheap to run. This change moves very slow
tests (>=200ms running time on my machine) and puts them in JSTests/slowMicrobenchmarks instead.
That directory is run only through `slow!; defaultQuickRun` and is not run by run-jsc-benchmarks.
This is a big progression in test running time. But because it frontloads more slow tests, the
tests will seem to run more slowly when you first start the test runner.

* microbenchmarks/default-derived-constructor.js: Removed.
* microbenchmarks/dense-set.js: Removed.
* microbenchmarks/ftl-polymorphic-div.js: Removed.
* microbenchmarks/ftl-polymorphic-mul.js: Removed.
* microbenchmarks/function-bind-inlining.js: Removed.
* microbenchmarks/function-bind-no-inlining.js: Removed.
* microbenchmarks/large-map-iteration-with-additions.js: Removed.
* microbenchmarks/large-map-iteration-with-mutation.js: Removed.
* microbenchmarks/map-get-get-cse.js: Removed.
* microbenchmarks/misc-bugs-847389-jpeg2000.js: Removed.
* microbenchmarks/spread-small-array.js: Removed.
* microbenchmarks/v8-raytrace-with-try-catch-high-frequency-throws.js: Removed.
* slowMicrobenchmarks: Added.
* slowMicrobenchmarks.yaml: Added.
* slowMicrobenchmarks/README: Added.
* slowMicrobenchmarks/default-derived-constructor.js: Copied from JSTests/microbenchmarks/default-derived-constructor.js.
* slowMicrobenchmarks/dense-set.js: Copied from JSTests/microbenchmarks/dense-set.js.
* slowMicrobenchmarks/ftl-polymorphic-div.js: Copied from JSTests/microbenchmarks/ftl-polymorphic-div.js.
* slowMicrobenchmarks/ftl-polymorphic-mul.js: Copied from JSTests/microbenchmarks/ftl-polymorphic-mul.js.
* slowMicrobenchmarks/function-bind-inlining.js: Copied from JSTests/microbenchmarks/function-bind-inlining.js.
* slowMicrobenchmarks/function-bind-no-inlining.js: Copied from JSTests/microbenchmarks/function-bind-no-inlining.js.
* slowMicrobenchmarks/large-map-iteration-with-additions.js: Copied from JSTests/microbenchmarks/large-map-iteration-with-additions.js.
* slowMicrobenchmarks/large-map-iteration-with-mutation.js: Copied from JSTests/microbenchmarks/large-map-iteration-with-mutation.js.
* slowMicrobenchmarks/map-get-get-cse.js: Copied from JSTests/microbenchmarks/map-get-get-cse.js.
* slowMicrobenchmarks/misc-bugs-847389-jpeg2000.js: Copied from JSTests/microbenchmarks/misc-bugs-847389-jpeg2000.js.
* slowMicrobenchmarks/spread-small-array.js: Copied from JSTests/microbenchmarks/spread-small-array.js.
* slowMicrobenchmarks/v8-raytrace-with-try-catch-high-frequency-throws.js: Copied from JSTests/microbenchmarks/v8-raytrace-with-try-catch-high-frequency-throws.js.

Tools:

* Scripts/run-javascriptcore-tests:
(runJSCStressTests): Add slowMicrobenchmarks.yaml.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
JSTests/ChangeLog
JSTests/slowMicrobenchmarks.yaml [new file with mode: 0644]
JSTests/slowMicrobenchmarks/README [new file with mode: 0644]
JSTests/slowMicrobenchmarks/default-derived-constructor.js [moved from JSTests/microbenchmarks/default-derived-constructor.js with 100% similarity]
JSTests/slowMicrobenchmarks/dense-set.js [moved from JSTests/microbenchmarks/dense-set.js with 100% similarity]
JSTests/slowMicrobenchmarks/ftl-polymorphic-div.js [moved from JSTests/microbenchmarks/ftl-polymorphic-div.js with 100% similarity]
JSTests/slowMicrobenchmarks/ftl-polymorphic-mul.js [moved from JSTests/microbenchmarks/ftl-polymorphic-mul.js with 100% similarity]
JSTests/slowMicrobenchmarks/function-bind-inlining.js [moved from JSTests/microbenchmarks/function-bind-inlining.js with 100% similarity]
JSTests/slowMicrobenchmarks/function-bind-no-inlining.js [moved from JSTests/microbenchmarks/function-bind-no-inlining.js with 100% similarity]
JSTests/slowMicrobenchmarks/large-map-iteration-with-additions.js [moved from JSTests/microbenchmarks/large-map-iteration-with-additions.js with 100% similarity]
JSTests/slowMicrobenchmarks/large-map-iteration-with-mutation.js [moved from JSTests/microbenchmarks/large-map-iteration-with-mutation.js with 100% similarity]
JSTests/slowMicrobenchmarks/map-get-get-cse.js [moved from JSTests/microbenchmarks/map-get-get-cse.js with 100% similarity]
JSTests/slowMicrobenchmarks/misc-bugs-847389-jpeg2000.js [moved from JSTests/microbenchmarks/misc-bugs-847389-jpeg2000.js with 100% similarity]
JSTests/slowMicrobenchmarks/spread-small-array.js [moved from JSTests/microbenchmarks/spread-small-array.js with 100% similarity]
JSTests/slowMicrobenchmarks/v8-raytrace-with-try-catch-high-frequency-throws.js [moved from JSTests/microbenchmarks/v8-raytrace-with-try-catch-high-frequency-throws.js with 100% similarity]
Tools/ChangeLog
Tools/Scripts/run-javascriptcore-tests