v8/tools/testrunner/testproc
Jakob Kummerow f15cb8fe54 [tests] Make processing of test filters faster
The test driver compares command-line arguments against test names
it finds on disk. Using Python's "fnmatch" for this nicely handles
wildcards, but is relatively slow. For given test names that don't
contain any '*', we can use string equality testing, which is much
faster.

Example: the time to evaluate

 tools/run-tests.py --arch x64 --mode release \
   $(grep 'object-spread' -l -r test/test262/data/test/ | \
       sed -E 's|\.js$||' | \
       sed -E 's|^test/test262/data/test/|test262/|')

goes from "I gave up and killed the process after several minutes"
to a couple of seconds with this patch.

Change-Id: I9ec404b7516afd801fe6126347f6dff533d1977c
Reviewed-on: https://chromium-review.googlesource.com/1149196
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54704}
2018-07-25 20:48:05 +00:00
..
__init__.py [test] Introduce test processors 2018-01-08 11:27:47 +00:00
base.py [test] Added signal handling to test processors 2018-01-31 10:39:06 +00:00
combiner.py [test] Add combine tests option to numfuzz 2018-01-25 15:50:24 +00:00
execution.py [test] Abort testing immediately on interrupt and sigterm 2018-02-20 18:02:25 +00:00
expectation.py [test] Forgive tests timing out on num-fuzzers 2018-02-08 23:08:05 +00:00
filter.py [tests] Make processing of test filters faster 2018-07-25 20:48:05 +00:00
fuzzer.py [test] Add thread-pool-size numfuzzer 2018-02-16 20:49:17 +00:00
loader.py [test] Simplify passing results between test processors. 2018-01-15 08:51:40 +00:00
progress.py [test] Abort testing immediately on interrupt and sigterm 2018-02-20 18:02:25 +00:00
rerun.py [test] Added signal handling to test processors 2018-01-31 10:39:06 +00:00
result.py [test] Move command from test to the result 2018-01-17 12:59:54 +00:00
seed.py [test] Stressing random seed with multiple subtests in parallel 2018-01-31 12:06:11 +00:00
shard.py [test] Implement shard processor 2018-01-16 11:33:03 +00:00
sigproc.py [test] Abort testing immediately on interrupt and sigterm 2018-02-20 18:02:25 +00:00
timeout.py [test] Abort testing immediately on interrupt and sigterm 2018-02-20 18:02:25 +00:00
variant.py [test] Do not pass unnecessary results 2018-01-17 11:32:12 +00:00