diff options
| author | Valentin Anger <syrupthinker@gryphno.de> | 2020-08-28 15:03:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-28 09:03:50 -0400 |
| commit | 31f32ed8c4082d36ad2a4ea460366c0d57a5ddbc (patch) | |
| tree | 2b60111cd53dd4034d1a92ee8caff89d164b7d2d /tools/testdata | |
| parent | 3d23208019a2c9faaf265ff13ad59f2d04f10079 (diff) | |
Move benchmarks to Rust (#7134)
All benchmarks are done in Rust and can be invoked with
`cargo bench`.
Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
Diffstat (limited to 'tools/testdata')
| -rw-r--r-- | tools/testdata/strace_summary.out | 39 | ||||
| -rw-r--r-- | tools/testdata/strace_summary2.out | 37 | ||||
| -rw-r--r-- | tools/testdata/time.out | 18 | ||||
| -rw-r--r-- | tools/testdata/wrk1.txt | 14 | ||||
| -rw-r--r-- | tools/testdata/wrk2.txt | 13 | ||||
| -rw-r--r-- | tools/testdata/wrk3.txt | 13 |
6 files changed, 0 insertions, 134 deletions
diff --git a/tools/testdata/strace_summary.out b/tools/testdata/strace_summary.out deleted file mode 100644 index 7984b175a..000000000 --- a/tools/testdata/strace_summary.out +++ /dev/null @@ -1,39 +0,0 @@ -% time seconds usecs/call calls errors syscall ------- ----------- ----------- --------- --------- ---------------- - 65.76 0.005881 98 60 munmap - 13.79 0.001233 2 462 mprotect - 7.13 0.000638 11 56 mmap - 3.57 0.000319 22 14 openat - 1.65 0.000148 10 14 fstat - 1.58 0.000141 7 20 read - 1.53 0.000137 7 18 close - 1.49 0.000133 16 8 madvise - 1.10 0.000098 98 1 execve - 0.30 0.000027 9 3 prctl - 0.29 0.000026 26 1 1 access - 0.25 0.000022 11 2 2 mkdir - 0.23 0.000021 7 3 write - 0.18 0.000016 4 4 set_robust_list - 0.16 0.000014 7 2 brk - 0.15 0.000013 13 1 pipe2 - 0.11 0.000010 3 3 clone - 0.11 0.000010 3 3 sigaltstack - 0.10 0.000009 4 2 stat - 0.10 0.000009 9 1 arch_prctl - 0.10 0.000009 9 1 epoll_create1 - 0.09 0.000008 8 1 epoll_ctl - 0.08 0.000007 3 2 getrandom - 0.04 0.000004 4 1 getcwd - 0.04 0.000004 2 2 sched_getaffinity - 0.03 0.000003 3 1 1 ioctl - 0.03 0.000003 1 3 futex - 0.00 0.000000 0 1 open - 0.00 0.000000 0 5 rt_sigaction - 0.00 0.000000 0 1 rt_sigprocmask - 0.00 0.000000 0 1 fcntl - 0.00 0.000000 0 1 1 readlink - 0.00 0.000000 0 1 set_tid_address - 0.00 0.000000 0 3 epoll_wait - 0.00 0.000000 0 2 prlimit64 ------- ----------- ----------- --------- --------- ---------------- -100.00 0.008943 704 5 total diff --git a/tools/testdata/strace_summary2.out b/tools/testdata/strace_summary2.out deleted file mode 100644 index 798a06665..000000000 --- a/tools/testdata/strace_summary2.out +++ /dev/null @@ -1,37 +0,0 @@ -17697 ????( <detached ...> -% time seconds usecs/call calls errors syscall ------- ----------- ----------- --------- --------- ---------------- - 63.19 0.030363 68 449 94 futex - 34.70 0.016672 16672 1 epoll_wait - 1.58 0.000761 6 129 mprotect - 0.40 0.000193 3 58 madvise - 0.11 0.000055 3 17 brk - 0.01 0.000003 0 32 mmap - 0.00 0.000000 0 20 1 read - 0.00 0.000000 0 1 write - 0.00 0.000000 0 14 open - 0.00 0.000000 0 17 close - 0.00 0.000000 0 10 fstat - 0.00 0.000000 0 10 munmap - 0.00 0.000000 0 5 rt_sigaction - 0.00 0.000000 0 1 rt_sigprocmask - 0.00 0.000000 0 4 4 ioctl - 0.00 0.000000 0 8 8 access - 0.00 0.000000 0 6 sched_yield - 0.00 0.000000 0 3 clone - 0.00 0.000000 0 1 execve - 0.00 0.000000 0 3 fcntl - 0.00 0.000000 0 5 getcwd - 0.00 0.000000 0 2 getrlimit - 0.00 0.000000 0 9 sigaltstack - 0.00 0.000000 0 3 prctl - 0.00 0.000000 0 1 arch_prctl - 0.00 0.000000 0 3 sched_getaffinity - 0.00 0.000000 0 1 set_tid_address - 0.00 0.000000 0 1 epoll_ctl - 0.00 0.000000 0 4 set_robust_list - 0.00 0.000000 0 1 epoll_create1 - 0.00 0.000000 0 1 pipe2 - 0.00 0.000000 0 1 getrandom ------- ----------- ----------- --------- --------- ---------------- -100.00 0.048047 821 107 total diff --git a/tools/testdata/time.out b/tools/testdata/time.out deleted file mode 100644 index 3ff409bd7..000000000 --- a/tools/testdata/time.out +++ /dev/null @@ -1,18 +0,0 @@ -Hello - Command being timed: "./target/debug/deno tests/003_relative_import.ts" - User time (seconds): 2.43 - System time (seconds): 0.05 - Percent of CPU this job got: 156% - Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.59 - Average shared text size (kbytes): 0 - Average unshared data size (kbytes): 0 - Average stack size (kbytes): 0 - Average total size (kbytes): 0 - Maximum resident set size (kbytes): 120380 - Average resident set size (kbytes): 0 - Major (requiring I/O) page faults: 0 - Minor (reclaiming a frame) page faults: 41452 - Voluntary context switches: 75 - Involuntary context switches: 42 - Swaps: 0 - File system inputs: 0
\ No newline at end of file diff --git a/tools/testdata/wrk1.txt b/tools/testdata/wrk1.txt deleted file mode 100644 index 8ad7cf739..000000000 --- a/tools/testdata/wrk1.txt +++ /dev/null @@ -1,14 +0,0 @@ -Running 10s test @ http://127.0.0.1:4500/ - 2 threads and 10 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 5.08ms 1.37ms 34.96ms 96.63% - Req/Sec 0.92k 51.83 1.00k 78.50% - Latency Distribution - 50% 1.96ms - 75% 2.02ms - 90% 2.43ms - 99% 6.25ms - 18381 requests in 10.00s, 0.89MB read - Socket errors: connect 0, read 18381, write 0, timeout 0 -Requests/sec: 1837.86 -Transfer/sec: 91.53KB diff --git a/tools/testdata/wrk2.txt b/tools/testdata/wrk2.txt deleted file mode 100644 index 4b68c6c8a..000000000 --- a/tools/testdata/wrk2.txt +++ /dev/null @@ -1,13 +0,0 @@ -Running 10s test @ http://127.0.0.1:4544/ - 2 threads and 10 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 402.90us 1.15ms 1.25us 94.86% - Req/Sec 26.86k 2.01k 31.81k 78.71% - Latency Distribution - 50% 2.03ms - 75% 2.10ms - 90% 2.43ms - 99% 6.22ms - 539721 requests in 10.10s, 26.25MB read -Requests/sec: 53435.75 -Transfer/sec: 2.60MB diff --git a/tools/testdata/wrk3.txt b/tools/testdata/wrk3.txt deleted file mode 100644 index 4c115a096..000000000 --- a/tools/testdata/wrk3.txt +++ /dev/null @@ -1,13 +0,0 @@ -Running 10s test @ http://127.0.0.1:4544/ - 2 threads and 10 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 26.55ms 152.26ms 1.63s 97.45% - Req/Sec 48.26k 3.13k 61.41k 93.00% - Latency Distribution - 50% 1.98ms - 75% 2.06ms - 90% 2.47ms - 99% 6.36ms - 960491 requests in 10.00s, 80.61MB read -Requests/sec: 96037.58 -Transfer/sec: 8.06MB |
