Create a new JavaScript RegExp benchmark
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Aug 2017 00:20:23 +0000 (00:20 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Aug 2017 00:20:23 +0000 (00:20 +0000)
commit0048da92e40e857c30823a4558996a0918f80e32
treeff46dab5bf31cc513a8a7b64ff76540db6bbe6bd
parent294712abecb12abb8c4fbf4d62f05b6d504fa70e
Create a new JavaScript RegExp benchmark
https://bugs.webkit.org/show_bug.cgi?id=175225

Reviewed by JF Bastien.

This is a new benchmark for Regular Expressions.  It borrows regex-dna from
SunSpider, the regexp test from Octane2, the BASIC parser from ARES-6/Basic,
and adds a new flight planner benchmark that uses RegExp's for textual parsing.

There needs to be some additions and changes to some of the textual content.
This includes adding more BASIC programs to the Basic test and increasing
keyword usage in the Flight Planner to increase the 16-bit coverage.

The intent is to grow this benchmark by adding a JavaScript implementation of the
offline assembler lexer and parser as well as adding some targeted micro benchmark
tests.

* RexBench: Added.
* RexBench/Basic: Added.
* RexBench/Basic/ast.js: Added.
* RexBench/Basic/basic.js: Added.
* RexBench/Basic/benchmark.js: Added.
* RexBench/Basic/caseless_map.js: Added.
* RexBench/Basic/lexer.js: Added.
* RexBench/Basic/number.js: Added.
* RexBench/Basic/parser.js: Added.
* RexBench/Basic/random.js: Added.
* RexBench/Basic/state.js: Added.
* RexBench/Basic/stress-test.js: Added.
* RexBench/Basic/util.js: Added.
* RexBench/FlightPlanner: Added.
* RexBench/FlightPlanner/airways.js: Added.
* RexBench/FlightPlanner/benchmark.js: Added.
* RexBench/FlightPlanner/convert-nfdc.py: Added.
* RexBench/FlightPlanner/expectations.js: Added.
* RexBench/FlightPlanner/flight_planner.js: Added.
* RexBench/FlightPlanner/use_unicode.js: Added.
* RexBench/FlightPlanner/waypoints.js: Added.
* RexBench/Octane2: Added.
* RexBench/Octane2/base.js: Added.
* RexBench/Octane2/regexp.js: Added.
* RexBench/SunSpider: Added.
* RexBench/SunSpider/regex-dna.js: Added.
* RexBench/about.html: Added.
* RexBench/basic_benchmark.js: Added.
* RexBench/cli.js: Added.
* RexBench/driver.js: Added.
* RexBench/flightplan_benchmark.js: Added.
* RexBench/flightplan_unicode_benchmark.js: Added.
* RexBench/glue.js: Added.
* RexBench/index.html: Added.
* RexBench/octane2_benchmark.js: Added.
* RexBench/results.js: Added.
* RexBench/stats.js: Added.
* RexBench/styles.css: Added.
* RexBench/sunspider_benchmark.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
35 files changed:
PerformanceTests/ChangeLog
PerformanceTests/RexBench/Basic/ast.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/basic.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/caseless_map.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/lexer.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/number.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/parser.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/random.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/state.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/stress-test.js [new file with mode: 0644]
PerformanceTests/RexBench/Basic/util.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/airways.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/convert-nfdc.py [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/expectations.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/flight_planner.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/use_unicode.js [new file with mode: 0644]
PerformanceTests/RexBench/FlightPlanner/waypoints.js [new file with mode: 0644]
PerformanceTests/RexBench/Octane2/base.js [new file with mode: 0644]
PerformanceTests/RexBench/Octane2/regexp.js [new file with mode: 0644]
PerformanceTests/RexBench/SunSpider/regex-dna.js [new file with mode: 0644]
PerformanceTests/RexBench/about.html [new file with mode: 0644]
PerformanceTests/RexBench/basic_benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/cli.js [new file with mode: 0644]
PerformanceTests/RexBench/driver.js [new file with mode: 0644]
PerformanceTests/RexBench/flightplan_benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/flightplan_unicode_benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/glue.js [new file with mode: 0644]
PerformanceTests/RexBench/index.html [new file with mode: 0644]
PerformanceTests/RexBench/octane2_benchmark.js [new file with mode: 0644]
PerformanceTests/RexBench/results.js [new file with mode: 0644]
PerformanceTests/RexBench/stats.js [new file with mode: 0644]
PerformanceTests/RexBench/styles.css [new file with mode: 0644]
PerformanceTests/RexBench/sunspider_benchmark.js [new file with mode: 0644]