v8/tools
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
..
blink_tests
cfi [CFI] Expand blacklisted entries 2018-04-11 09:00:31 +00:00
clusterfuzz [foozzie] Move --suppress-asm-messages flag to FLAGS 2018-07-19 10:39:37 +00:00
dev [gm] Set v8_enable_fast_mksnapshot by default 2018-06-29 09:30:16 +00:00
gcmole Reland "[turboassembler] Introduce hard-abort mode" 2018-07-24 15:58:46 +00:00
generate_shim_headers
heap-stats [runtime][parser] Use ArrayBoilerplateDescription all the way 2018-07-05 19:31:03 +00:00
ignition
jsfunfuzz Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
link_clicker.extension
mb s390, ppc64: Enable v8gen.py on Linux s390, ppc64 2018-07-17 08:54:26 +00:00
memory
msan
ninja
node [tools] Fix missing import in node script 2018-07-25 13:18:25 +00:00
perf
profview
profviz [log] Improve log parsing 2018-06-20 13:40:22 +00:00
release [tools] Use TBR by default for uploaded branch CLs 2018-05-22 16:11:52 +00:00
sanitizers
sodium
testrunner [tests] Make processing of test filters faster 2018-07-25 20:48:05 +00:00
toolchain [build] Add support for the other MIPS architectures 2018-03-19 10:43:07 +00:00
torque [torque] Remove try/catch (only support try/label) 2018-06-04 19:55:02 +00:00
turbolizer [turbolizer] Treeshake d3 library 2018-07-16 08:45:20 +00:00
ubsan [build] Add ubsan blacklist file 2018-06-19 10:46:53 +00:00
unittests [tools] Detect location of android build tools automatically 2018-07-25 11:23:55 +00:00
v8.xcodeproj
valgrind/asan [build] Add testrunner data deps 2018-03-26 12:17:08 +00:00
vim
visual_studio
wasm [wasm] Update spec tests 2018-01-25 09:28:58 +00:00
adb-d8.py
android-build.sh
android-ll-prof.sh
android-run.py
android-sync.sh
arguments.js
avg.py [tools] Add an averaging script 2018-07-09 14:45:42 +00:00
bash-completion.sh
bigint-tester.py [bigint] Remove BigInt.parseInt 2018-01-26 02:51:58 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
callstats.html
callstats.py Revert "[tools] Keep raw data in the generated JSON for debugging purposes" 2018-07-18 10:51:30 +00:00
check-inline-includes.sh
check-static-initializers.sh
check-unused-bailouts.sh
codemap.js [builtins] Add kind specific flag for off-heap trampolines 2018-06-22 09:43:25 +00:00
collect_deprecation_stats.sh [objects] Deprecate GetIsolate/Heap behind a flag 2018-06-01 15:19:21 +00:00
compare-table-gen.js
concatenate-files.py
consarray.js
cpu.sh
cross_build_gcc.sh
csvparser.js
DEPS
detect-builtins.js
disasm.py
draw_instruction_graph.sh
dump-cpp.py
dumpcpp-driver.js
dumpcpp.js [log] Improve log parsing 2018-06-20 13:40:22 +00:00
eval_gc_nvp.py
eval_gc_time.sh
find_depot_tools.py
find-commit-for-patch.py
freebsd-tick-processor
fuzz-harness.sh
gc_nvp_common.py
gc-nvp-to-csv.py
gc-nvp-trace-processor.py
gdb-v8-support.py
gdbinit [explicit isolates] Pass Isolate to Object::Print 2018-06-26 12:32:04 +00:00
gen-inlining-tests.py
gen-postmortem-metadata.py [postmortem] add JS_ERROR_TYPE and context embedder index 2018-07-16 18:42:35 +00:00
generate-builtins-tests.py
generate-header-include-checks.py [iwyu] Fix includes in maybe-handles-inl.h and maybe-object-inl.h 2018-07-25 09:24:29 +00:00
generate-ten-powers.scm
get_landmines.py [build] Prepare removal of gyp-defines from landmine 2018-02-16 23:28:14 +00:00
grokdump.py Fix a trivial typo in grokdump.py 2018-07-19 16:46:14 +00:00
ic-explorer.html
ic-processor
ic-processor-driver.js
ic-processor.js [log] Improve log parsing 2018-06-20 13:40:22 +00:00
js2c.py Remove initial whitespace & empty lines to decrease JS files size 2017-12-19 00:04:19 +00:00
jsmin.py
linux-tick-processor
ll_prof.py
lldb_commands.py Reland "Fix and extend lldbinit" 2018-07-13 07:40:19 +00:00
logreader.js [log] Improve log parsing 2018-06-20 13:40:22 +00:00
mac-nm
mac-tick-processor
Makefile.tags [Makefile] Move tags generation to standalone Makefile 2018-01-26 12:03:32 +00:00
map-processor [tools] All new shiny maptracer.html 2017-12-18 12:48:00 +00:00
map-processor-driver.js [tools] All new shiny maptracer.html 2017-12-18 12:48:00 +00:00
map-processor.html [tools] All new shiny maptracer.html 2017-12-18 12:48:00 +00:00
map-processor.js [log] Improve log parsing 2018-06-20 13:40:22 +00:00
mips_toolchain.tar.gz.sha1 [build] Enable downloading mips toolchain via runhooks 2018-01-31 14:38:43 +00:00
objdump-v8
OWNERS
parse-processor [log][tools] Fix logging on deserialized scripts 2018-06-27 15:32:37 +00:00
parse-processor-driver.js [tools] New parse processor tool 2017-12-20 13:07:17 +00:00
parse-processor.html [tools] Improve function event logging and parse processor 2018-07-16 14:05:14 +00:00
parse-processor.js [tools] Improve function event logging and parse processor 2018-07-16 14:05:14 +00:00
perf-compare.py
perf-to-html.py
plot-timer-events
predictable_wrapper.py [test] Increase timeout for tests run by predictable_wrapper.py. 2018-03-14 09:09:22 +00:00
presubmit.py Reland "[debug] liveedit in native" 2018-07-03 21:01:57 +00:00
profile_view.js
profile.js
run_perf.py [tools] Detect location of android build tools automatically 2018-07-25 11:23:55 +00:00
run-llprof.sh
run-num-fuzzer.py [test] Implement gc fuzzer with test processors 2018-01-19 16:58:49 +00:00
run-perf.sh
run-tests.py
run-tests.py.vpython [tools] Add vpython config for run-tests.py 2018-06-20 11:27:39 +00:00
run.py
shell-utils.h
SourceMap.js
splaytree.js
stats-viewer.py
tick-processor.html
tickprocessor-driver.js
tickprocessor.js [tools] parse-processor improvements 2018-07-03 09:12:44 +00:00
trace-maps-processor.py
try_perf.py [infra] Add web-tooling-benchmark to tools/try_perf.py 2018-05-17 13:56:42 +00:00
turbolizer-perf.py
v8heapconst.py [Intl] Implement Intl.ListFormat constructor 2018-07-24 21:50:13 +00:00
whitespace.txt [tools] Whitespace CL 2018-06-28 17:11:46 +00:00
windows-tick-processor.bat