Skip to content

Instantly share code, notes, and snippets.

@base698 base698/perf
Created Nov 17, 2016

Embed
What would you like to do?
# hello world
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software:
Server Hostname: localhost
Server Port: 3000
Document Path: /
Document Length: 26 bytes
Concurrency Level: 250
Time taken for tests: 21.093 seconds
Complete requests: 1000000
Failed requests: 0
Total transferred: 68000000 bytes
HTML transferred: 26000000 bytes
Requests per second: 47408.65 [#/sec] (mean)
Time per request: 5.273 [ms] (mean)
Time per request: 0.021 [ms] (mean, across all concurrent requests)
Transfer rate: 3148.23 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 16.1 2 1004
Processing: 1 3 2.5 3 231
Waiting: 1 3 2.6 2 231
Total: 2 5 16.3 5 1010
Percentage of the requests served within a certain time (ms)
50% 5
66% 5
75% 5
80% 5
90% 7
95% 8
98% 8
99% 8
100% 1010 (longest request)
Nov 16, 2016 4:08:33 PM io.vertx.core.Starter
INFO: Succeeded in deploying verticle
^C
Performance counter stats for 'java -jar target/ResponseTest-1.0-SNAPSHOT-fat.jar':
113,521,328,018 cycles (43.98%)
102,647,009,886 instructions # 0.90 insns per cycle (54.97%)
3,614,526,432 cache-references (55.41%)
138,280,372 cache-misses # 3.826 % of all cache refs (55.57%)
3,911,023,046 bus-cycles (55.62%)
990,693 context-switches
31,741,817,921 L1-dcache-loads (35.80%)
2,686,751,209 L1-dcache-load-misses # 8.46% of all L1-dcache hits (30.59%)
1,036,532,274 LLC-loads (28.13%)
88,697,845 LLC-load-misses # 8.56% of all LL-cache hits (35.84%)
29.009179871 seconds time elapsed
# big payload
ycles,context-switches -d java -jar target/ResponseTest-1.0-SNAPSHOT-fat.jar
../../tests/start.json
Nov 16, 2016 4:05:44 PM io.vertx.core.Starter
INFO: Succeeded in deploying verticle
^C
Performance counter stats for 'java -jar target/ResponseTest-1.0-SNAPSHOT-fat.jar':
119,476,564,680 cycles (44.17%)
56,531,399,138 instructions # 0.47 insns per cycle (55.39%)
4,761,879,580 cache-references (55.65%)
1,087,798,425 cache-misses # 22.844 % of all cache refs (55.55%)
3,786,442,016 bus-cycles (55.67%)
120,430 context-switches
22,828,781,576 L1-dcache-loads (28.44%)
10,420,206,164 L1-dcache-load-misses # 45.65% of all L1-dcache hits (27.36%)
2,000,522,060 LLC-loads (22.65%)
9,981,207 LLC-load-misses # 0.50% of all LL-cache hits (33.30%)
46.392147984 seconds time elapsed
#half big payload
ycles,context-switches -d java -jar target/ResponseTest-1.0-SNAPSHOT-fat.jar
../../tests/start.json
Nov 16, 2016 4:03:19 PM io.vertx.core.Starter
INFO: Succeeded in deploying verticle
^C
Performance counter stats for 'java -jar target/ResponseTest-1.0-SNAPSHOT-fat.jar':
141,645,228,565 cycles (44.49%)
90,636,105,942 instructions # 0.64 insns per cycle (55.57%)
6,365,907,040 cache-references (55.57%)
134,650,279 cache-misses # 2.115 % of all cache refs (55.66%)
4,504,742,690 bus-cycles (55.60%)
318,837 context-switches
34,278,053,135 L1-dcache-loads (28.06%)
11,670,875,588 L1-dcache-load-misses # 34.05% of all L1-dcache hits (26.22%)
2,523,102,700 LLC-loads (22.61%)
59,131,551 LLC-load-misses # 2.34% of all LL-cache hits (33.49%)
44.535876287 seconds time elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.