From 31728af236d4773fb21bbc5107d10e22781ad298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=AD=E5=A4=A7=E6=B7=98=E6=B2=99?= Date: Thu, 2 Apr 2026 15:54:40 +0800 Subject: [PATCH] modify testcases to improve stability --- .../tperf-fio-ext4-randwrite4K-sync-direct0-depth1-thread32.py | 2 +- testcase/tperf-fio-ext4-read1M-sync-direct0-depth1-thread32.py | 2 +- .../tperf-fio-raw-randwrite4K-sync-direct0-depth1-thread32.py | 2 +- testcase/tperf-lmbench-bw_mem-bcopy.py | 2 +- testcase/tperf-lmbench-bw_mem-bzero.py | 2 +- testcase/tperf-lmbench-bw_mem-cp.py | 2 +- testcase/tperf-lmbench-bw_mem-fcp.py | 2 +- testcase/tperf-lmbench-bw_mem-fwr.py | 2 +- testcase/tperf-lmbench-bw_mem-libc-bcopy-aligned.py | 2 +- testcase/tperf-lmbench-bw_mem-libc-bcopy-unaligned.py | 2 +- testcase/tperf-lmbench-bw_mem-read.py | 2 +- testcase/tperf-lmbench-bw_mem-unrolled-bcopy-unaligned.py | 2 +- .../tperf-lmbench-bw_mem-unrolled-partial-bcopy-unaligned.py | 2 +- testcase/tperf-lmbench-lat_af-unix.py | 2 +- testcase/tperf-lmbench-lat_ctx-16k-24p.py | 2 +- testcase/tperf-lmbench-lat_ctx-16k-48p.py | 2 +- testcase/tperf-lmbench-lat_ctx-16k-96p.py | 2 +- testcase/tperf-lmbench-lat_ctx-24k-24p.py | 2 +- testcase/tperf-lmbench-lat_ctx-24k-48p.py | 2 +- testcase/tperf-lmbench-lat_ctx-24k-96p.py | 2 +- testcase/tperf-lmbench-lat_ctx-32k-24p.py | 2 +- testcase/tperf-lmbench-lat_ctx-32k-48p.py | 2 +- testcase/tperf-lmbench-lat_ctx-32k-96p.py | 2 +- testcase/tperf-lmbench-lat_ctx-48k-24p.py | 2 +- testcase/tperf-lmbench-lat_ctx-48k-48p.py | 2 +- testcase/tperf-lmbench-lat_ctx-48k-96p.py | 2 +- testcase/tperf-lmbench-lat_ctx-64k-24p.py | 2 +- testcase/tperf-lmbench-lat_ctx-64k-48p.py | 2 +- testcase/tperf-lmbench-lat_ctx-64k-96p.py | 2 +- testcase/tperf-lmbench-lat_mem_rd-prefetch-off.py | 2 +- testcase/tperf-lmbench-lat_mem_rd-prefetch-on.py | 2 +- testcase/tperf-lmbench-lat_mmap.py | 2 +- testcase/tperf-lmbench-lat_pagefault.py | 2 +- testcase/tperf-lmbench-lat_proc-exec.py | 2 +- testcase/tperf-lmbench-lat_proc-shell.py | 2 +- testcase/tperf-lmbench-lat_sig-catch.py | 2 +- testcase/tperf-lmbench-lat_sig-install.py | 2 +- testcase/tperf-lmbench-lat_syscall-read.py | 2 +- testcase/tperf-lmbench-lat_syscall-write.py | 2 +- testcase/tperf-qperf-tcp-len-1-bw.py | 2 +- testcase/tperf-qperf-tcp-len-1-lat.py | 2 +- testcase/tperf-qperf-tcp-len-512-bw.py | 2 +- testcase/tperf-qperf-tcp-len-512-lat.py | 2 +- testcase/tperf-qperf-tcp-len-60000-bw.py | 2 +- testcase/tperf-qperf-tcp-len-60000-lat.py | 2 +- testcase/tperf-qperf-tcp-len-64-bw.py | 2 +- testcase/tperf-qperf-tcp-len-64-lat.py | 2 +- testcase/tperf-qperf-udp-len-1-bw.py | 2 +- testcase/tperf-qperf-udp-len-1-lat.py | 2 +- testcase/tperf-qperf-udp-len-1400-bw.py | 2 +- testcase/tperf-qperf-udp-len-1400-lat.py | 2 +- testcase/tperf-qperf-udp-len-512-bw.py | 2 +- testcase/tperf-qperf-udp-len-512-lat.py | 2 +- testcase/tperf-qperf-udp-len-60000-bw.py | 2 +- testcase/tperf-qperf-udp-len-60000-lat.py | 2 +- .../tperf-rt-tests-hackbench-thread-pipe-fds10-groups100.py | 2 +- testcase/tperf-rt-tests-hackbench-thread-pipe-fds5-groups100.py | 2 +- testcase/tperf-sysbench-cpu-thread-1.py | 2 +- testcase/tperf-sysbench-memory-block-128k-size-10g-rndwr.py | 2 +- testcase/tperf-sysbench-memory-block-128k-size-10g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-16k-size-1g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-1g-size-10g-rndrd.py | 2 +- testcase/tperf-sysbench-memory-block-1g-size-10g-rndwr.py | 2 +- testcase/tperf-sysbench-memory-block-1k-size-1g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-256k-size-10g-rndwr.py | 2 +- testcase/tperf-sysbench-memory-block-2k-size-1g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-32k-size-1g-rndrd.py | 2 +- testcase/tperf-sysbench-memory-block-32k-size-1g-rndwr.py | 2 +- testcase/tperf-sysbench-memory-block-32k-size-1g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-32k-size-1g-seqwr.py | 2 +- testcase/tperf-sysbench-memory-block-4k-size-1g-seqrd.py | 2 +- testcase/tperf-sysbench-memory-block-512k-size-10g-rndwr.py | 2 +- testcase/tperf-sysbench-memory-block-512k-size-10g-seqwr.py | 2 +- testcase/tperf-sysbench-memory-block-64k-size-10g-rndrd.py | 2 +- testcase/tperf-sysbench-memory-block-64k-size-10g-rndwr.py | 2 +- testcase/tperf-sysbench-threads-16-locks-16-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-16-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-16-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-32-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-32-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-32-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-48-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-48-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-48-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-8-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-8-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-8-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-96-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-96-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-16-locks-96-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-16-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-16-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-16-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-32-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-32-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-32-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-48-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-48-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-48-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-8-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-8-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-8-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-96-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-96-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-32-locks-96-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-16-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-16-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-16-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-32-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-32-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-32-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-48-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-48-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-48-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-8-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-8-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-8-yields-5000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-96-yields-1000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-96-yields-10000.py | 2 +- testcase/tperf-sysbench-threads-8-locks-96-yields-5000.py | 2 +- testcase/tperf-unixbench-shell16.py | 2 +- testcase/tperf-unixbench-spawn.py | 2 +- 122 files changed, 122 insertions(+), 122 deletions(-) diff --git a/testcase/tperf-fio-ext4-randwrite4K-sync-direct0-depth1-thread32.py b/testcase/tperf-fio-ext4-randwrite4K-sync-direct0-depth1-thread32.py index 72bd585..89cb9d0 100755 --- a/testcase/tperf-fio-ext4-randwrite4K-sync-direct0-depth1-thread32.py +++ b/testcase/tperf-fio-ext4-randwrite4K-sync-direct0-depth1-thread32.py @@ -49,7 +49,7 @@ class PythonTestCase(MyTestCase): thread="32", direct="0", ) - perf.run(warmup=0, run_loop=20, result_select_percent=80) + perf.run(warmup=1, run_loop=5, result_select_percent=70) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-fio-ext4-read1M-sync-direct0-depth1-thread32.py b/testcase/tperf-fio-ext4-read1M-sync-direct0-depth1-thread32.py index dbb7b53..fc51604 100755 --- a/testcase/tperf-fio-ext4-read1M-sync-direct0-depth1-thread32.py +++ b/testcase/tperf-fio-ext4-read1M-sync-direct0-depth1-thread32.py @@ -49,7 +49,7 @@ class PythonTestCase(MyTestCase): thread="32", direct="0", ) - perf.run(warmup=1, run_loop=30, result_select_percent=70) + perf.run(warmup=1, run_loop=30, result_select_percent=60) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-fio-raw-randwrite4K-sync-direct0-depth1-thread32.py b/testcase/tperf-fio-raw-randwrite4K-sync-direct0-depth1-thread32.py index 0fb5701..5ec28b3 100755 --- a/testcase/tperf-fio-raw-randwrite4K-sync-direct0-depth1-thread32.py +++ b/testcase/tperf-fio-raw-randwrite4K-sync-direct0-depth1-thread32.py @@ -49,7 +49,7 @@ class PythonTestCase(MyTestCase): thread="32", direct="0", ) - perf.run(warmup=0, run_loop=20, result_select_percent=80) + perf.run(warmup=1, run_loop=30, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-bcopy.py b/testcase/tperf-lmbench-bw_mem-bcopy.py index 6a419ca..5fd73f8 100755 --- a/testcase/tperf-lmbench-bw_mem-bcopy.py +++ b/testcase/tperf-lmbench-bw_mem-bcopy.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m bcopy" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-bzero.py b/testcase/tperf-lmbench-bw_mem-bzero.py index b749202..008e3e7 100755 --- a/testcase/tperf-lmbench-bw_mem-bzero.py +++ b/testcase/tperf-lmbench-bw_mem-bzero.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m bzero" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-cp.py b/testcase/tperf-lmbench-bw_mem-cp.py index e56eb57..f80d909 100755 --- a/testcase/tperf-lmbench-bw_mem-cp.py +++ b/testcase/tperf-lmbench-bw_mem-cp.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m cp" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-fcp.py b/testcase/tperf-lmbench-bw_mem-fcp.py index eb0356e..aa5963b 100755 --- a/testcase/tperf-lmbench-bw_mem-fcp.py +++ b/testcase/tperf-lmbench-bw_mem-fcp.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m fcp" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-fwr.py b/testcase/tperf-lmbench-bw_mem-fwr.py index d695da9..bdf29f7 100755 --- a/testcase/tperf-lmbench-bw_mem-fwr.py +++ b/testcase/tperf-lmbench-bw_mem-fwr.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m fwr" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-libc-bcopy-aligned.py b/testcase/tperf-lmbench-bw_mem-libc-bcopy-aligned.py index 4cca636..a623d39 100755 --- a/testcase/tperf-lmbench-bw_mem-libc-bcopy-aligned.py +++ b/testcase/tperf-lmbench-bw_mem-libc-bcopy-aligned.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 2048m bcopy conflict" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-libc-bcopy-unaligned.py b/testcase/tperf-lmbench-bw_mem-libc-bcopy-unaligned.py index 44dc90d..770f69a 100755 --- a/testcase/tperf-lmbench-bw_mem-libc-bcopy-unaligned.py +++ b/testcase/tperf-lmbench-bw_mem-libc-bcopy-unaligned.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 2048m bcopy" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-read.py b/testcase/tperf-lmbench-bw_mem-read.py index 7dbb911..28140a7 100755 --- a/testcase/tperf-lmbench-bw_mem-read.py +++ b/testcase/tperf-lmbench-bw_mem-read.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m frd" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-unrolled-bcopy-unaligned.py b/testcase/tperf-lmbench-bw_mem-unrolled-bcopy-unaligned.py index 9b7a9aa..17a44e6 100755 --- a/testcase/tperf-lmbench-bw_mem-unrolled-bcopy-unaligned.py +++ b/testcase/tperf-lmbench-bw_mem-unrolled-bcopy-unaligned.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 2048m fcp" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-bw_mem-unrolled-partial-bcopy-unaligned.py b/testcase/tperf-lmbench-bw_mem-unrolled-partial-bcopy-unaligned.py index 6fd910d..8a2144f 100755 --- a/testcase/tperf-lmbench-bw_mem-unrolled-partial-bcopy-unaligned.py +++ b/testcase/tperf-lmbench-bw_mem-unrolled-partial-bcopy-unaligned.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 2048m cp" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_af-unix.py b/testcase/tperf-lmbench-lat_af-unix.py index 8ace16f..e5e789a 100755 --- a/testcase/tperf-lmbench-lat_af-unix.py +++ b/testcase/tperf-lmbench-lat_af-unix.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): testname=self.tc_name, general_opt="-P 1" ) - perf.run() + perf.run(warmup=1, run_loop=5, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-16k-24p.py b/testcase/tperf-lmbench-lat_ctx-16k-24p.py index d5bbaaf..5006d6a 100755 --- a/testcase/tperf-lmbench-lat_ctx-16k-24p.py +++ b/testcase/tperf-lmbench-lat_ctx-16k-24p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 16 24" ) - perf.run(warmup=0,run_loop=1,result_select_percent=90) + perf.run(warmup=0, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-16k-48p.py b/testcase/tperf-lmbench-lat_ctx-16k-48p.py index dcbd3e1..76a9eee 100755 --- a/testcase/tperf-lmbench-lat_ctx-16k-48p.py +++ b/testcase/tperf-lmbench-lat_ctx-16k-48p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 16 48" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-16k-96p.py b/testcase/tperf-lmbench-lat_ctx-16k-96p.py index 4ee2663..69c7dce 100755 --- a/testcase/tperf-lmbench-lat_ctx-16k-96p.py +++ b/testcase/tperf-lmbench-lat_ctx-16k-96p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 16 96" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-24k-24p.py b/testcase/tperf-lmbench-lat_ctx-24k-24p.py index 73d1f04..2426099 100755 --- a/testcase/tperf-lmbench-lat_ctx-24k-24p.py +++ b/testcase/tperf-lmbench-lat_ctx-24k-24p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 24 24" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-24k-48p.py b/testcase/tperf-lmbench-lat_ctx-24k-48p.py index eaeadaa..80c2b44 100755 --- a/testcase/tperf-lmbench-lat_ctx-24k-48p.py +++ b/testcase/tperf-lmbench-lat_ctx-24k-48p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 24 48" ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-24k-96p.py b/testcase/tperf-lmbench-lat_ctx-24k-96p.py index 2340844..9cc7f7c 100755 --- a/testcase/tperf-lmbench-lat_ctx-24k-96p.py +++ b/testcase/tperf-lmbench-lat_ctx-24k-96p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 24 96" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-32k-24p.py b/testcase/tperf-lmbench-lat_ctx-32k-24p.py index 031f4bd..8986df4 100755 --- a/testcase/tperf-lmbench-lat_ctx-32k-24p.py +++ b/testcase/tperf-lmbench-lat_ctx-32k-24p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 32 24" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-32k-48p.py b/testcase/tperf-lmbench-lat_ctx-32k-48p.py index f86ea8b..c7995c8 100755 --- a/testcase/tperf-lmbench-lat_ctx-32k-48p.py +++ b/testcase/tperf-lmbench-lat_ctx-32k-48p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 32 48" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-32k-96p.py b/testcase/tperf-lmbench-lat_ctx-32k-96p.py index f2adced..2f47765 100755 --- a/testcase/tperf-lmbench-lat_ctx-32k-96p.py +++ b/testcase/tperf-lmbench-lat_ctx-32k-96p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 32 96" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-48k-24p.py b/testcase/tperf-lmbench-lat_ctx-48k-24p.py index 847c2ed..c7fce81 100755 --- a/testcase/tperf-lmbench-lat_ctx-48k-24p.py +++ b/testcase/tperf-lmbench-lat_ctx-48k-24p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 48 24" ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-48k-48p.py b/testcase/tperf-lmbench-lat_ctx-48k-48p.py index aa02eac..62a7bce 100755 --- a/testcase/tperf-lmbench-lat_ctx-48k-48p.py +++ b/testcase/tperf-lmbench-lat_ctx-48k-48p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 48 48" ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-48k-96p.py b/testcase/tperf-lmbench-lat_ctx-48k-96p.py index ad881f6..97e43d1 100755 --- a/testcase/tperf-lmbench-lat_ctx-48k-96p.py +++ b/testcase/tperf-lmbench-lat_ctx-48k-96p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 48 96" ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-64k-24p.py b/testcase/tperf-lmbench-lat_ctx-64k-24p.py index 97c923c..6aaf6d5 100755 --- a/testcase/tperf-lmbench-lat_ctx-64k-24p.py +++ b/testcase/tperf-lmbench-lat_ctx-64k-24p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 64 24" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-64k-48p.py b/testcase/tperf-lmbench-lat_ctx-64k-48p.py index ce9cee2..5a249b7 100755 --- a/testcase/tperf-lmbench-lat_ctx-64k-48p.py +++ b/testcase/tperf-lmbench-lat_ctx-64k-48p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 64 48" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_ctx-64k-96p.py b/testcase/tperf-lmbench-lat_ctx-64k-96p.py index b0a2f33..32dadde 100755 --- a/testcase/tperf-lmbench-lat_ctx-64k-96p.py +++ b/testcase/tperf-lmbench-lat_ctx-64k-96p.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:sched", general_opt="-P 1 -s 64 96" ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_mem_rd-prefetch-off.py b/testcase/tperf-lmbench-lat_mem_rd-prefetch-off.py index 0875d04..6108717 100755 --- a/testcase/tperf-lmbench-lat_mem_rd-prefetch-off.py +++ b/testcase/tperf-lmbench-lat_mem_rd-prefetch-off.py @@ -44,7 +44,7 @@ class PythonTestCase(MyTestCase): ) # 修改命令以添加numactl前缀 perf.command = f"numactl --cpunodebind=0 --membind=0 {perf.command}" - perf.run(warmup=0, run_loop=1) + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_mem_rd-prefetch-on.py b/testcase/tperf-lmbench-lat_mem_rd-prefetch-on.py index e25673a..bcb01f7 100755 --- a/testcase/tperf-lmbench-lat_mem_rd-prefetch-on.py +++ b/testcase/tperf-lmbench-lat_mem_rd-prefetch-on.py @@ -44,7 +44,7 @@ class PythonTestCase(MyTestCase): ) # 修改命令以添加numactl前缀 perf.command = f"numactl --cpunodebind=0 --membind=0 {perf.command}" - perf.run(warmup=0, run_loop=1) + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_mmap.py b/testcase/tperf-lmbench-lat_mmap.py index ba73ae4..a739f94 100755 --- a/testcase/tperf-lmbench-lat_mmap.py +++ b/testcase/tperf-lmbench-lat_mmap.py @@ -47,7 +47,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 4096m /tmp/test-FILE", ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_pagefault.py b/testcase/tperf-lmbench-lat_pagefault.py index d366e45..c826468 100755 --- a/testcase/tperf-lmbench-lat_pagefault.py +++ b/testcase/tperf-lmbench-lat_pagefault.py @@ -47,7 +47,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 /tmp/test-FILE", ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_proc-exec.py b/testcase/tperf-lmbench-lat_proc-exec.py index 79b92d5..1ec47a6 100755 --- a/testcase/tperf-lmbench-lat_proc-exec.py +++ b/testcase/tperf-lmbench-lat_proc-exec.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 exec" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_proc-shell.py b/testcase/tperf-lmbench-lat_proc-shell.py index 4b5ab49..df74211 100755 --- a/testcase/tperf-lmbench-lat_proc-shell.py +++ b/testcase/tperf-lmbench-lat_proc-shell.py @@ -49,7 +49,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 shell" ) - perf.run() + perf.run(warmup=1, run_loop=30, result_select_percent=60) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_sig-catch.py b/testcase/tperf-lmbench-lat_sig-catch.py index e965790..b615812 100755 --- a/testcase/tperf-lmbench-lat_sig-catch.py +++ b/testcase/tperf-lmbench-lat_sig-catch.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): testname=self.tc_name, general_opt="-P 1 catch" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_sig-install.py b/testcase/tperf-lmbench-lat_sig-install.py index 527b119..51cca9e 100755 --- a/testcase/tperf-lmbench-lat_sig-install.py +++ b/testcase/tperf-lmbench-lat_sig-install.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): testname=self.tc_name, general_opt="-P 1 install" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_syscall-read.py b/testcase/tperf-lmbench-lat_syscall-read.py index 4dd7845..ef1da10 100755 --- a/testcase/tperf-lmbench-lat_syscall-read.py +++ b/testcase/tperf-lmbench-lat_syscall-read.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 read" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-lmbench-lat_syscall-write.py b/testcase/tperf-lmbench-lat_syscall-write.py index b8ad7ab..5b9c369 100755 --- a/testcase/tperf-lmbench-lat_syscall-write.py +++ b/testcase/tperf-lmbench-lat_syscall-write.py @@ -42,7 +42,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-P 1 write" ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-1-bw.py b/testcase/tperf-qperf-tcp-len-1-bw.py index da25dba..9aa1463 100755 --- a/testcase/tperf-qperf-tcp-len-1-bw.py +++ b/testcase/tperf-qperf-tcp-len-1-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-1-bw", test_opt="--msg_size 1 tcp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-1-lat.py b/testcase/tperf-qperf-tcp-len-1-lat.py index f232009..7a237ee 100755 --- a/testcase/tperf-qperf-tcp-len-1-lat.py +++ b/testcase/tperf-qperf-tcp-len-1-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-1-lat", test_opt="--msg_size 1 tcp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-512-bw.py b/testcase/tperf-qperf-tcp-len-512-bw.py index 8a6d54b..3a93c99 100755 --- a/testcase/tperf-qperf-tcp-len-512-bw.py +++ b/testcase/tperf-qperf-tcp-len-512-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-512-bw", test_opt="--msg_size 512 tcp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-512-lat.py b/testcase/tperf-qperf-tcp-len-512-lat.py index 37d102a..652976c 100755 --- a/testcase/tperf-qperf-tcp-len-512-lat.py +++ b/testcase/tperf-qperf-tcp-len-512-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-512-lat", test_opt="--msg_size 512 tcp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-60000-bw.py b/testcase/tperf-qperf-tcp-len-60000-bw.py index 4f08699..2245db8 100755 --- a/testcase/tperf-qperf-tcp-len-60000-bw.py +++ b/testcase/tperf-qperf-tcp-len-60000-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-60000-bw", test_opt="--msg_size 60000 tcp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-60000-lat.py b/testcase/tperf-qperf-tcp-len-60000-lat.py index 33c3d04..7056310 100755 --- a/testcase/tperf-qperf-tcp-len-60000-lat.py +++ b/testcase/tperf-qperf-tcp-len-60000-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-60000-lat", test_opt="--msg_size 60000 tcp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-64-bw.py b/testcase/tperf-qperf-tcp-len-64-bw.py index 6592c02..ba95570 100755 --- a/testcase/tperf-qperf-tcp-len-64-bw.py +++ b/testcase/tperf-qperf-tcp-len-64-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-64-bw", test_opt="--msg_size 64 tcp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-tcp-len-64-lat.py b/testcase/tperf-qperf-tcp-len-64-lat.py index 2c2bfd1..043778f 100755 --- a/testcase/tperf-qperf-tcp-len-64-lat.py +++ b/testcase/tperf-qperf-tcp-len-64-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-tcp-len-64-lat", test_opt="--msg_size 64 tcp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-1-bw.py b/testcase/tperf-qperf-udp-len-1-bw.py index a1cb3f4..b2f2e3b 100755 --- a/testcase/tperf-qperf-udp-len-1-bw.py +++ b/testcase/tperf-qperf-udp-len-1-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-1-bw", test_opt="--msg_size 1 udp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-1-lat.py b/testcase/tperf-qperf-udp-len-1-lat.py index 925b3b9..0aba364 100755 --- a/testcase/tperf-qperf-udp-len-1-lat.py +++ b/testcase/tperf-qperf-udp-len-1-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-1-lat", test_opt="--msg_size 1 udp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-1400-bw.py b/testcase/tperf-qperf-udp-len-1400-bw.py index a638166..b702b15 100755 --- a/testcase/tperf-qperf-udp-len-1400-bw.py +++ b/testcase/tperf-qperf-udp-len-1400-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-1400-bw", test_opt="--msg_size 1400 udp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-1400-lat.py b/testcase/tperf-qperf-udp-len-1400-lat.py index 1a7ceb5..7494c37 100755 --- a/testcase/tperf-qperf-udp-len-1400-lat.py +++ b/testcase/tperf-qperf-udp-len-1400-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-1400-lat", test_opt="--msg_size 1400 udp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-512-bw.py b/testcase/tperf-qperf-udp-len-512-bw.py index 6cc3280..99df4da 100755 --- a/testcase/tperf-qperf-udp-len-512-bw.py +++ b/testcase/tperf-qperf-udp-len-512-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-512-bw", test_opt="--msg_size 512 udp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-512-lat.py b/testcase/tperf-qperf-udp-len-512-lat.py index a46fd32..d61f9c5 100755 --- a/testcase/tperf-qperf-udp-len-512-lat.py +++ b/testcase/tperf-qperf-udp-len-512-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-512-lat", test_opt="--msg_size 512 udp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-60000-bw.py b/testcase/tperf-qperf-udp-len-60000-bw.py index d10a7af..4b373fe 100755 --- a/testcase/tperf-qperf-udp-len-60000-bw.py +++ b/testcase/tperf-qperf-udp-len-60000-bw.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-60000-bw", test_opt="--msg_size 60000 udp_bw", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-qperf-udp-len-60000-lat.py b/testcase/tperf-qperf-udp-len-60000-lat.py index d2d9cdb..ae244fc 100755 --- a/testcase/tperf-qperf-udp-len-60000-lat.py +++ b/testcase/tperf-qperf-udp-len-60000-lat.py @@ -40,7 +40,7 @@ class PythonTestCase(MyTestCase): name="tperf-qperf-udp-len-60000-lat", test_opt="--msg_size 60000 udp_lat", ) - perf.run(run_loop=1, result_select_percent=80) + perf.run(warmup=0, run_loop=1, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-rt-tests-hackbench-thread-pipe-fds10-groups100.py b/testcase/tperf-rt-tests-hackbench-thread-pipe-fds10-groups100.py index 420dfcb..fb2f5b1 100755 --- a/testcase/tperf-rt-tests-hackbench-thread-pipe-fds10-groups100.py +++ b/testcase/tperf-rt-tests-hackbench-thread-pipe-fds10-groups100.py @@ -47,7 +47,7 @@ class PythonTestCase(MyTestCase): sched_fifo=False, nr_loop=100, ) - perf.run(warmup=1, run_loop=10, result_select_percent=80) + perf.run(warmup=1, run_loop=5, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-rt-tests-hackbench-thread-pipe-fds5-groups100.py b/testcase/tperf-rt-tests-hackbench-thread-pipe-fds5-groups100.py index 87375b5..1f6accf 100755 --- a/testcase/tperf-rt-tests-hackbench-thread-pipe-fds5-groups100.py +++ b/testcase/tperf-rt-tests-hackbench-thread-pipe-fds5-groups100.py @@ -47,7 +47,7 @@ class PythonTestCase(MyTestCase): sched_fifo=False, nr_loop=100, ) - perf.run(warmup=1, run_loop=10, result_select_percent=80) + perf.run(warmup=1, run_loop=20, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-cpu-thread-1.py b/testcase/tperf-sysbench-cpu-thread-1.py index 5fe2bdc..ef90864 100755 --- a/testcase/tperf-sysbench-cpu-thread-1.py +++ b/testcase/tperf-sysbench-cpu-thread-1.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--cpu-max-prime=100000 --threads=1 --time=10", ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-128k-size-10g-rndwr.py b/testcase/tperf-sysbench-memory-block-128k-size-10g-rndwr.py index 2ce1c33..0629f76 100755 --- a/testcase/tperf-sysbench-memory-block-128k-size-10g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-128k-size-10g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=128k --memory-total-size=10G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-128k-size-10g-seqrd.py b/testcase/tperf-sysbench-memory-block-128k-size-10g-seqrd.py index 6c38bc8..2741c3d 100755 --- a/testcase/tperf-sysbench-memory-block-128k-size-10g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-128k-size-10g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=128k --memory-total-size=10G --memory-oper=write --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-16k-size-1g-seqrd.py b/testcase/tperf-sysbench-memory-block-16k-size-1g-seqrd.py index 660cc38..415d3d6 100755 --- a/testcase/tperf-sysbench-memory-block-16k-size-1g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-16k-size-1g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=16k --memory-total-size=1G --memory-oper=read --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-1g-size-10g-rndrd.py b/testcase/tperf-sysbench-memory-block-1g-size-10g-rndrd.py index 1c10b73..19d9efb 100755 --- a/testcase/tperf-sysbench-memory-block-1g-size-10g-rndrd.py +++ b/testcase/tperf-sysbench-memory-block-1g-size-10g-rndrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=1G --memory-total-size=10G --memory-oper=read --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-1g-size-10g-rndwr.py b/testcase/tperf-sysbench-memory-block-1g-size-10g-rndwr.py index de2370d..200fcf0 100755 --- a/testcase/tperf-sysbench-memory-block-1g-size-10g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-1g-size-10g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=1g --memory-total-size=10G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-1k-size-1g-seqrd.py b/testcase/tperf-sysbench-memory-block-1k-size-1g-seqrd.py index bb86d0c..b81c1ef 100755 --- a/testcase/tperf-sysbench-memory-block-1k-size-1g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-1k-size-1g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=1k --memory-total-size=1G --memory-oper=read --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-256k-size-10g-rndwr.py b/testcase/tperf-sysbench-memory-block-256k-size-10g-rndwr.py index 150d857..9bc45ce 100755 --- a/testcase/tperf-sysbench-memory-block-256k-size-10g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-256k-size-10g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=256k --memory-total-size=10G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-2k-size-1g-seqrd.py b/testcase/tperf-sysbench-memory-block-2k-size-1g-seqrd.py index f1ffd80..257cc62 100755 --- a/testcase/tperf-sysbench-memory-block-2k-size-1g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-2k-size-1g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=2k --memory-total-size=1G --memory-oper=read --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-32k-size-1g-rndrd.py b/testcase/tperf-sysbench-memory-block-32k-size-1g-rndrd.py index 6b5872a..8a938ea 100755 --- a/testcase/tperf-sysbench-memory-block-32k-size-1g-rndrd.py +++ b/testcase/tperf-sysbench-memory-block-32k-size-1g-rndrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=32k --memory-total-size=1G --memory-oper=read --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-32k-size-1g-rndwr.py b/testcase/tperf-sysbench-memory-block-32k-size-1g-rndwr.py index 8ca0426..a50a9d7 100755 --- a/testcase/tperf-sysbench-memory-block-32k-size-1g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-32k-size-1g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=32k --memory-total-size=1G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-32k-size-1g-seqrd.py b/testcase/tperf-sysbench-memory-block-32k-size-1g-seqrd.py index ff44a29..cf7f433 100755 --- a/testcase/tperf-sysbench-memory-block-32k-size-1g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-32k-size-1g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=32k --memory-total-size=1G --memory-oper=read --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-32k-size-1g-seqwr.py b/testcase/tperf-sysbench-memory-block-32k-size-1g-seqwr.py index 0e4c2f2..cf3ec64 100755 --- a/testcase/tperf-sysbench-memory-block-32k-size-1g-seqwr.py +++ b/testcase/tperf-sysbench-memory-block-32k-size-1g-seqwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=32k --memory-total-size=1G --memory-oper=write --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-4k-size-1g-seqrd.py b/testcase/tperf-sysbench-memory-block-4k-size-1g-seqrd.py index e6115c5..6d9c15d 100755 --- a/testcase/tperf-sysbench-memory-block-4k-size-1g-seqrd.py +++ b/testcase/tperf-sysbench-memory-block-4k-size-1g-seqrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=4k --memory-total-size=1G --memory-oper=read --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-512k-size-10g-rndwr.py b/testcase/tperf-sysbench-memory-block-512k-size-10g-rndwr.py index dad0ab8..23b101a 100755 --- a/testcase/tperf-sysbench-memory-block-512k-size-10g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-512k-size-10g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=512k --memory-total-size=10G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-512k-size-10g-seqwr.py b/testcase/tperf-sysbench-memory-block-512k-size-10g-seqwr.py index 21d0bf0..49dc1d1 100755 --- a/testcase/tperf-sysbench-memory-block-512k-size-10g-seqwr.py +++ b/testcase/tperf-sysbench-memory-block-512k-size-10g-seqwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=512k --memory-total-size=10G --memory-oper=write --memory-access-mode=seq", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-64k-size-10g-rndrd.py b/testcase/tperf-sysbench-memory-block-64k-size-10g-rndrd.py index 5c0b4e0..53d9661 100755 --- a/testcase/tperf-sysbench-memory-block-64k-size-10g-rndrd.py +++ b/testcase/tperf-sysbench-memory-block-64k-size-10g-rndrd.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=64k --memory-total-size=10G --memory-oper=read --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-memory-block-64k-size-10g-rndwr.py b/testcase/tperf-sysbench-memory-block-64k-size-10g-rndwr.py index 94ac25b..abd1e50 100755 --- a/testcase/tperf-sysbench-memory-block-64k-size-10g-rndwr.py +++ b/testcase/tperf-sysbench-memory-block-64k-size-10g-rndwr.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="--memory-block-size=32k --memory-total-size=10G --memory-oper=write --memory-access-mode=rnd", ) - perf.run(warmup=1,run_loop=1,result_select_percent=90) + perf.run(warmup=1, run_loop=1, result_select_percent=90) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-16-yields-1000.py b/testcase/tperf-sysbench-threads-16-locks-16-yields-1000.py index c52e329..dbf2092 100755 --- a/testcase/tperf-sysbench-threads-16-locks-16-yields-1000.py +++ b/testcase/tperf-sysbench-threads-16-locks-16-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=16 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-16-yields-10000.py b/testcase/tperf-sysbench-threads-16-locks-16-yields-10000.py index 91e010f..585b327 100755 --- a/testcase/tperf-sysbench-threads-16-locks-16-yields-10000.py +++ b/testcase/tperf-sysbench-threads-16-locks-16-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=16 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-16-yields-5000.py b/testcase/tperf-sysbench-threads-16-locks-16-yields-5000.py index 4c79ee2..327c2a9 100755 --- a/testcase/tperf-sysbench-threads-16-locks-16-yields-5000.py +++ b/testcase/tperf-sysbench-threads-16-locks-16-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=16 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-32-yields-1000.py b/testcase/tperf-sysbench-threads-16-locks-32-yields-1000.py index a1571ef..697a2d5 100755 --- a/testcase/tperf-sysbench-threads-16-locks-32-yields-1000.py +++ b/testcase/tperf-sysbench-threads-16-locks-32-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=32 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-32-yields-10000.py b/testcase/tperf-sysbench-threads-16-locks-32-yields-10000.py index df938e4..9e68e3a 100755 --- a/testcase/tperf-sysbench-threads-16-locks-32-yields-10000.py +++ b/testcase/tperf-sysbench-threads-16-locks-32-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=32 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-32-yields-5000.py b/testcase/tperf-sysbench-threads-16-locks-32-yields-5000.py index 0fe803f..39d4546 100755 --- a/testcase/tperf-sysbench-threads-16-locks-32-yields-5000.py +++ b/testcase/tperf-sysbench-threads-16-locks-32-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=32 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-48-yields-1000.py b/testcase/tperf-sysbench-threads-16-locks-48-yields-1000.py index 0bf754d..1e6b60a 100755 --- a/testcase/tperf-sysbench-threads-16-locks-48-yields-1000.py +++ b/testcase/tperf-sysbench-threads-16-locks-48-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=48 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-48-yields-10000.py b/testcase/tperf-sysbench-threads-16-locks-48-yields-10000.py index 24c7f4b..c46e4e3 100755 --- a/testcase/tperf-sysbench-threads-16-locks-48-yields-10000.py +++ b/testcase/tperf-sysbench-threads-16-locks-48-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=48 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-48-yields-5000.py b/testcase/tperf-sysbench-threads-16-locks-48-yields-5000.py index e1e2393..6516e97 100755 --- a/testcase/tperf-sysbench-threads-16-locks-48-yields-5000.py +++ b/testcase/tperf-sysbench-threads-16-locks-48-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=48 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-8-yields-1000.py b/testcase/tperf-sysbench-threads-16-locks-8-yields-1000.py index 3805a24..af9bdf2 100755 --- a/testcase/tperf-sysbench-threads-16-locks-8-yields-1000.py +++ b/testcase/tperf-sysbench-threads-16-locks-8-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=8 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-8-yields-10000.py b/testcase/tperf-sysbench-threads-16-locks-8-yields-10000.py index e84be42..c976748 100755 --- a/testcase/tperf-sysbench-threads-16-locks-8-yields-10000.py +++ b/testcase/tperf-sysbench-threads-16-locks-8-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=8 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-8-yields-5000.py b/testcase/tperf-sysbench-threads-16-locks-8-yields-5000.py index be4ea4a..39055ae 100755 --- a/testcase/tperf-sysbench-threads-16-locks-8-yields-5000.py +++ b/testcase/tperf-sysbench-threads-16-locks-8-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=8 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-96-yields-1000.py b/testcase/tperf-sysbench-threads-16-locks-96-yields-1000.py index 4982db5..052c608 100755 --- a/testcase/tperf-sysbench-threads-16-locks-96-yields-1000.py +++ b/testcase/tperf-sysbench-threads-16-locks-96-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=96 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-96-yields-10000.py b/testcase/tperf-sysbench-threads-16-locks-96-yields-10000.py index 6439d1c..39d3141 100755 --- a/testcase/tperf-sysbench-threads-16-locks-96-yields-10000.py +++ b/testcase/tperf-sysbench-threads-16-locks-96-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=96 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-16-locks-96-yields-5000.py b/testcase/tperf-sysbench-threads-16-locks-96-yields-5000.py index ad56dee..cbc14ab 100755 --- a/testcase/tperf-sysbench-threads-16-locks-96-yields-5000.py +++ b/testcase/tperf-sysbench-threads-16-locks-96-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=16 --thread-locks=96 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-16-yields-1000.py b/testcase/tperf-sysbench-threads-32-locks-16-yields-1000.py index a38b41b..20ed385 100755 --- a/testcase/tperf-sysbench-threads-32-locks-16-yields-1000.py +++ b/testcase/tperf-sysbench-threads-32-locks-16-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=16 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-16-yields-10000.py b/testcase/tperf-sysbench-threads-32-locks-16-yields-10000.py index f1f9ec3..768270f 100755 --- a/testcase/tperf-sysbench-threads-32-locks-16-yields-10000.py +++ b/testcase/tperf-sysbench-threads-32-locks-16-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=16 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-16-yields-5000.py b/testcase/tperf-sysbench-threads-32-locks-16-yields-5000.py index fdcb78a..8059e72 100755 --- a/testcase/tperf-sysbench-threads-32-locks-16-yields-5000.py +++ b/testcase/tperf-sysbench-threads-32-locks-16-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=16 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-32-yields-1000.py b/testcase/tperf-sysbench-threads-32-locks-32-yields-1000.py index 42815cd..35c2b08 100755 --- a/testcase/tperf-sysbench-threads-32-locks-32-yields-1000.py +++ b/testcase/tperf-sysbench-threads-32-locks-32-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=32 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-32-yields-10000.py b/testcase/tperf-sysbench-threads-32-locks-32-yields-10000.py index e140bec..163e41d 100755 --- a/testcase/tperf-sysbench-threads-32-locks-32-yields-10000.py +++ b/testcase/tperf-sysbench-threads-32-locks-32-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=32 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-32-yields-5000.py b/testcase/tperf-sysbench-threads-32-locks-32-yields-5000.py index 1097873..4be9dd6 100755 --- a/testcase/tperf-sysbench-threads-32-locks-32-yields-5000.py +++ b/testcase/tperf-sysbench-threads-32-locks-32-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=32 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-48-yields-1000.py b/testcase/tperf-sysbench-threads-32-locks-48-yields-1000.py index f5afe18..f525e99 100755 --- a/testcase/tperf-sysbench-threads-32-locks-48-yields-1000.py +++ b/testcase/tperf-sysbench-threads-32-locks-48-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=48 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-48-yields-10000.py b/testcase/tperf-sysbench-threads-32-locks-48-yields-10000.py index 1dd61a7..c557a69 100755 --- a/testcase/tperf-sysbench-threads-32-locks-48-yields-10000.py +++ b/testcase/tperf-sysbench-threads-32-locks-48-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=48 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-48-yields-5000.py b/testcase/tperf-sysbench-threads-32-locks-48-yields-5000.py index 9010656..00f374e 100755 --- a/testcase/tperf-sysbench-threads-32-locks-48-yields-5000.py +++ b/testcase/tperf-sysbench-threads-32-locks-48-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=48 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-8-yields-1000.py b/testcase/tperf-sysbench-threads-32-locks-8-yields-1000.py index 20031a0..de5339c 100755 --- a/testcase/tperf-sysbench-threads-32-locks-8-yields-1000.py +++ b/testcase/tperf-sysbench-threads-32-locks-8-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=8 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-8-yields-10000.py b/testcase/tperf-sysbench-threads-32-locks-8-yields-10000.py index 3072c94..8bdb97b 100755 --- a/testcase/tperf-sysbench-threads-32-locks-8-yields-10000.py +++ b/testcase/tperf-sysbench-threads-32-locks-8-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=8 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-8-yields-5000.py b/testcase/tperf-sysbench-threads-32-locks-8-yields-5000.py index 2b3f2d0..58f9eb9 100755 --- a/testcase/tperf-sysbench-threads-32-locks-8-yields-5000.py +++ b/testcase/tperf-sysbench-threads-32-locks-8-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=8 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-96-yields-1000.py b/testcase/tperf-sysbench-threads-32-locks-96-yields-1000.py index 01854c1..4cfea10 100755 --- a/testcase/tperf-sysbench-threads-32-locks-96-yields-1000.py +++ b/testcase/tperf-sysbench-threads-32-locks-96-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=96 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-96-yields-10000.py b/testcase/tperf-sysbench-threads-32-locks-96-yields-10000.py index 52e7f6a..85df573 100755 --- a/testcase/tperf-sysbench-threads-32-locks-96-yields-10000.py +++ b/testcase/tperf-sysbench-threads-32-locks-96-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=96 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-32-locks-96-yields-5000.py b/testcase/tperf-sysbench-threads-32-locks-96-yields-5000.py index b2de8c4..40aa031 100755 --- a/testcase/tperf-sysbench-threads-32-locks-96-yields-5000.py +++ b/testcase/tperf-sysbench-threads-32-locks-96-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=32 --thread-locks=96 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-16-yields-1000.py b/testcase/tperf-sysbench-threads-8-locks-16-yields-1000.py index 2ec991b..41b387e 100755 --- a/testcase/tperf-sysbench-threads-8-locks-16-yields-1000.py +++ b/testcase/tperf-sysbench-threads-8-locks-16-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=16 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-16-yields-10000.py b/testcase/tperf-sysbench-threads-8-locks-16-yields-10000.py index 8c1b42a..f077ac9 100755 --- a/testcase/tperf-sysbench-threads-8-locks-16-yields-10000.py +++ b/testcase/tperf-sysbench-threads-8-locks-16-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=16 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-16-yields-5000.py b/testcase/tperf-sysbench-threads-8-locks-16-yields-5000.py index 8e0c97d..a11dfba 100755 --- a/testcase/tperf-sysbench-threads-8-locks-16-yields-5000.py +++ b/testcase/tperf-sysbench-threads-8-locks-16-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=16 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-32-yields-1000.py b/testcase/tperf-sysbench-threads-8-locks-32-yields-1000.py index 0f9038f..634c8de 100755 --- a/testcase/tperf-sysbench-threads-8-locks-32-yields-1000.py +++ b/testcase/tperf-sysbench-threads-8-locks-32-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=32 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-32-yields-10000.py b/testcase/tperf-sysbench-threads-8-locks-32-yields-10000.py index 4cd786c..49e58f6 100755 --- a/testcase/tperf-sysbench-threads-8-locks-32-yields-10000.py +++ b/testcase/tperf-sysbench-threads-8-locks-32-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=32 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-32-yields-5000.py b/testcase/tperf-sysbench-threads-8-locks-32-yields-5000.py index ffa4890..e12b8dd 100755 --- a/testcase/tperf-sysbench-threads-8-locks-32-yields-5000.py +++ b/testcase/tperf-sysbench-threads-8-locks-32-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=32 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-48-yields-1000.py b/testcase/tperf-sysbench-threads-8-locks-48-yields-1000.py index 5955218..59af777 100755 --- a/testcase/tperf-sysbench-threads-8-locks-48-yields-1000.py +++ b/testcase/tperf-sysbench-threads-8-locks-48-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=48 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-48-yields-10000.py b/testcase/tperf-sysbench-threads-8-locks-48-yields-10000.py index 22c74e0..3a613fa 100755 --- a/testcase/tperf-sysbench-threads-8-locks-48-yields-10000.py +++ b/testcase/tperf-sysbench-threads-8-locks-48-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=48 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-48-yields-5000.py b/testcase/tperf-sysbench-threads-8-locks-48-yields-5000.py index 4b99902..7c1350a 100755 --- a/testcase/tperf-sysbench-threads-8-locks-48-yields-5000.py +++ b/testcase/tperf-sysbench-threads-8-locks-48-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=48 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-8-yields-1000.py b/testcase/tperf-sysbench-threads-8-locks-8-yields-1000.py index a1f70c0..37c1ff1 100755 --- a/testcase/tperf-sysbench-threads-8-locks-8-yields-1000.py +++ b/testcase/tperf-sysbench-threads-8-locks-8-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=8 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-8-yields-10000.py b/testcase/tperf-sysbench-threads-8-locks-8-yields-10000.py index 29564c6..2e0be73 100755 --- a/testcase/tperf-sysbench-threads-8-locks-8-yields-10000.py +++ b/testcase/tperf-sysbench-threads-8-locks-8-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=8 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-8-yields-5000.py b/testcase/tperf-sysbench-threads-8-locks-8-yields-5000.py index c824b85..b8dabbe 100755 --- a/testcase/tperf-sysbench-threads-8-locks-8-yields-5000.py +++ b/testcase/tperf-sysbench-threads-8-locks-8-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=8 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-96-yields-1000.py b/testcase/tperf-sysbench-threads-8-locks-96-yields-1000.py index 14f6058..450958a 100755 --- a/testcase/tperf-sysbench-threads-8-locks-96-yields-1000.py +++ b/testcase/tperf-sysbench-threads-8-locks-96-yields-1000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=96 --thread-yields=1000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-96-yields-10000.py b/testcase/tperf-sysbench-threads-8-locks-96-yields-10000.py index 3f72589..7e4325f 100755 --- a/testcase/tperf-sysbench-threads-8-locks-96-yields-10000.py +++ b/testcase/tperf-sysbench-threads-8-locks-96-yields-10000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=96 --thread-yields=10000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-sysbench-threads-8-locks-96-yields-5000.py b/testcase/tperf-sysbench-threads-8-locks-96-yields-5000.py index 9f517cc..04cc944 100755 --- a/testcase/tperf-sysbench-threads-8-locks-96-yields-5000.py +++ b/testcase/tperf-sysbench-threads-8-locks-96-yields-5000.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:调度", general_opt="--threads=8 --thread-locks=96 --thread-yields=5000", ) - perf.run(warmup=1,run_loop=10,result_select_percent=80) + perf.run(warmup=1, run_loop=10, result_select_percent=80) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-unixbench-shell16.py b/testcase/tperf-unixbench-shell16.py index 90b67d4..226eef1 100755 --- a/testcase/tperf-unixbench-shell16.py +++ b/testcase/tperf-unixbench-shell16.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-c 1 shell16", ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) diff --git a/testcase/tperf-unixbench-spawn.py b/testcase/tperf-unixbench-spawn.py index d73c656..c14c8c9 100755 --- a/testcase/tperf-unixbench-spawn.py +++ b/testcase/tperf-unixbench-spawn.py @@ -41,7 +41,7 @@ class PythonTestCase(MyTestCase): label="L0:内存", general_opt="-c 1 spawn", ) - perf.run() + perf.run(warmup=0, run_loop=1, result_select_percent=100) perf.report(testcase=self) self.assert_true(len(perf.results) > 0) -- Gitee