diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-10-14 14:41:23 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-10-14 14:41:23 +0800 |
commit | ca731934fe660489337991f6c5979a7741527d9a (patch) | |
tree | 980f4d2134a3d5f83365901c48c9b0fcbaad4a86 /test/benchmarks/tools/redis_test.go | |
parent | 631dd5330d438729a7a8f6e00b279386924de640 (diff) |
Disable strace+debug when explicitly requested
Currently strace+debug is always enabled as the setting from
the upper layer isn't passed to _syscall_test(). And it will
negatively affect the performance tests. This patch fixes this
issue.
The "debug" argument of _syscall_test() is also made mandatory
to prevent this happening again.
//test/perf:getpid_benchmark_runsc_kvm
-----------------------------------------------------
Benchmark Time CPU Iterations
-----------------------------------------------------
Before:
BM_Getpid 28119 ns 28157 ns 25926
After:
BM_Getpid 947 ns 939 ns 777778
Fixes #4509
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'test/benchmarks/tools/redis_test.go')
0 files changed, 0 insertions, 0 deletions