f15cb8fe54
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} |
||
---|---|---|
.. | ||
blink_tests | ||
cfi | ||
clusterfuzz | ||
dev | ||
gcmole | ||
generate_shim_headers | ||
heap-stats | ||
ignition | ||
jsfunfuzz | ||
link_clicker.extension | ||
mb | ||
memory | ||
msan | ||
ninja | ||
node | ||
perf | ||
profview | ||
profviz | ||
release | ||
sanitizers | ||
sodium | ||
testrunner | ||
toolchain | ||
torque | ||
turbolizer | ||
ubsan | ||
unittests | ||
v8.xcodeproj | ||
valgrind/asan | ||
vim | ||
visual_studio | ||
wasm | ||
adb-d8.py | ||
android-build.sh | ||
android-ll-prof.sh | ||
android-run.py | ||
android-sync.sh | ||
arguments.js | ||
avg.py | ||
bash-completion.sh | ||
bigint-tester.py | ||
BUILD.gn | ||
callstats.html | ||
callstats.py | ||
check-inline-includes.sh | ||
check-static-initializers.sh | ||
check-unused-bailouts.sh | ||
codemap.js | ||
collect_deprecation_stats.sh | ||
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 | ||
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 | ||
gen-inlining-tests.py | ||
gen-postmortem-metadata.py | ||
generate-builtins-tests.py | ||
generate-header-include-checks.py | ||
generate-ten-powers.scm | ||
get_landmines.py | ||
grokdump.py | ||
ic-explorer.html | ||
ic-processor | ||
ic-processor-driver.js | ||
ic-processor.js | ||
js2c.py | ||
jsmin.py | ||
linux-tick-processor | ||
ll_prof.py | ||
lldb_commands.py | ||
logreader.js | ||
mac-nm | ||
mac-tick-processor | ||
Makefile.tags | ||
map-processor | ||
map-processor-driver.js | ||
map-processor.html | ||
map-processor.js | ||
mips_toolchain.tar.gz.sha1 | ||
objdump-v8 | ||
OWNERS | ||
parse-processor | ||
parse-processor-driver.js | ||
parse-processor.html | ||
parse-processor.js | ||
perf-compare.py | ||
perf-to-html.py | ||
plot-timer-events | ||
predictable_wrapper.py | ||
presubmit.py | ||
profile_view.js | ||
profile.js | ||
run_perf.py | ||
run-llprof.sh | ||
run-num-fuzzer.py | ||
run-perf.sh | ||
run-tests.py | ||
run-tests.py.vpython | ||
run.py | ||
shell-utils.h | ||
SourceMap.js | ||
splaytree.js | ||
stats-viewer.py | ||
tick-processor.html | ||
tickprocessor-driver.js | ||
tickprocessor.js | ||
trace-maps-processor.py | ||
try_perf.py | ||
turbolizer-perf.py | ||
v8heapconst.py | ||
whitespace.txt | ||
windows-tick-processor.bat |