linux/tools/perf/tests
Ian Rogers 4cef0e7ae7 perf tests: Run tests in parallel by default
Switch from running tests sequentially to running in parallel by
default. Change the opt-in '-p' or '--parallel' flag to '-S' or
'--sequential'.

On an 8 core tigerlake an address sanitizer run time changes from:

  326.54user 622.73system 6:59.91elapsed 226%CPU

to:

  973.02user 583.98system 3:01.17elapsed 859%CPU

So over twice as fast, saving 4 minutes.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240301174711.2646944-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-03-21 13:54:40 -03:00
..
attr
config-fragments
shell perf test: Stat output per thread of just the parent process 2024-03-21 13:54:39 -03:00
workloads
api-io.c
attr.c
attr.py
backward-ring-buffer.c
bitmap.c perf cpumap: Use perf_cpu_map__for_each_cpu when possible 2024-03-21 10:41:28 -03:00
bp_account.c
bp_signal.c
bp_signal_overflow.c
Build perf test: Rename builtin-test-list and add missed header guard 2024-02-22 09:12:40 -08:00
builtin-test.c perf tests: Run tests in parallel by default 2024-03-21 13:54:40 -03:00
code-reading.c
cpumap.c
demangle-java-test.c
demangle-ocaml-test.c
dlfilter-test.c
dso-data.c
dwarf-unwind.c
event-times.c
event_groups.c
event_update.c
evsel-roundtrip-name.c
evsel-tp-sched.c
expand-cgroup.c
expr.c
fdarray.c
genelf.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
is_printable_array.c
keep-tracking.c
kmod-path.c
make
maps.c
mem.c
mem2node.c
mmap-basic.c
mmap-thread-lookup.c
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c
parse-metric.c
parse-no-sample-id-all.c
pe-file-parsing.c
pe-file.c
pe-file.exe
pe-file.exe.debug
perf-hooks.c
perf-record.c
perf-targz-src-pkg
perf-time-to-tsc.c
pfm.c
pmu-events.c
pmu.c
python-use.c
sample-parsing.c
sdt.c
sigtrap.c
stat.c
sw-clock.c
switch-tracking.c
symbols.c perf test: Fix spelling mistake "curent" -> "current" 2024-02-26 21:41:27 -08:00
task-exit.c
tests-scripts.c perf tests: Run time generate shell test suites 2024-02-22 09:13:06 -08:00
tests-scripts.h perf tests: Run time generate shell test suites 2024-02-22 09:13:06 -08:00
tests.h perf test: Use TEST_FAIL in the TEST_ASSERT macros instead of -1 2024-02-26 08:31:24 -08:00
thread-map.c
thread-maps-share.c
time-utils-test.c
topology.c perf cpumap: Use perf_cpu_map__for_each_cpu when possible 2024-03-21 10:41:28 -03:00
unit_number__scnprintf.c
util.c
vmlinux-kallsyms.c
wp.c