diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2024-09-17 11:57:06 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-09-27 09:42:46 +0300 |
commit | b38c49d8296b9eee1ffb6471853d542fd76de2fb (patch) | |
tree | fd2dc4aa7decb8498bbe6013f2ae17e7eab0c945 /tools/perf/tests/demangle-java-test.c | |
parent | 4f23fc34cc68812c68c3a3dec15e26e87565f430 (diff) | |
download | linux-b38c49d8296b9eee1ffb6471853d542fd76de2fb.tar.xz |
perf/test: Speed up test case perf annotate basic tests
perf test 70 takes a long time. One culprit is the output of command
perf annotate. Per default enabled are
- demangle symbol names
- interleave source code with assembly code.
Disable demangle of symbols and abort the annotation
after the first 250 lines.
This speeds up the test case considerable, for example
on s390:
Output before:
# time perf test 70
70: perf annotate basic tests : Ok
.....
real 2m7.467s
user 1m26.869s
sys 0m34.086s
#
Output after:
# time perf test 70
70: perf annotate basic tests : Ok
real 0m3.341s
user 0m1.606s
sys 0m0.362s
#
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: sumanthk@linux.ibm.com
Link: https://lore.kernel.org/r/20240917085706.249691-1-tmricht@linux.ibm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/tests/demangle-java-test.c')
0 files changed, 0 insertions, 0 deletions