mirror of https://github.com/tidwall/evio.git
removed iris from benchmarks
This commit is contained in:
parent
91a7a6b471
commit
482c5c993e
|
@ -17,7 +17,6 @@ trap cleanup EXIT
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
$(pkill -9 net-http-server || printf "")
|
$(pkill -9 net-http-server || printf "")
|
||||||
$(pkill -9 fasthttp-server || printf "")
|
$(pkill -9 fasthttp-server || printf "")
|
||||||
$(pkill -9 iris-server || printf "")
|
|
||||||
$(pkill -9 evio-http-server || printf "")
|
$(pkill -9 evio-http-server || printf "")
|
||||||
|
|
||||||
function gobench {
|
function gobench {
|
||||||
|
@ -34,6 +33,5 @@ function gobench {
|
||||||
}
|
}
|
||||||
|
|
||||||
gobench "GO STDLIB" bin/net-http-server net-http-server/main.go 8081
|
gobench "GO STDLIB" bin/net-http-server net-http-server/main.go 8081
|
||||||
gobench "IRIS" bin/iris-server iris-server/main.go 8082
|
|
||||||
gobench "FASTHTTP" bin/fasthttp-server fasthttp-server/main.go 8083
|
gobench "FASTHTTP" bin/fasthttp-server fasthttp-server/main.go 8083
|
||||||
gobench "EVIO" bin/evio-http-server ../examples/http-server/main.go 8084
|
gobench "EVIO" bin/evio-http-server ../examples/http-server/main.go 8084
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
|
@ -2,65 +2,48 @@
|
||||||
--- BENCH HTTP START ---
|
--- BENCH HTTP START ---
|
||||||
|
|
||||||
--- GO STDLIB ---
|
--- GO STDLIB ---
|
||||||
2017/11/04 13:12:53 http server started on port 8081
|
2017/11/06 11:43:15 http server started on port 8081
|
||||||
*** 50 connections, 10 seconds
|
*** 50 connections, 10 seconds
|
||||||
Bombarding http://127.0.0.1:8081 for 10s using 50 connections
|
Bombarding http://127.0.0.1:8081 for 10s using 50 connections
|
||||||
[-----------------------------------------------------------------------------------]
[=======>------------------------------------------------------------------------] 9s
[===============>----------------------------------------------------------------] 8s
[=======================>--------------------------------------------------------] 7s
[===============================>------------------------------------------------] 6s
[=======================================>----------------------------------------] 5s
[===============================================>--------------------------------] 4s
[=======================================================>------------------------] 3s
[===============================================================>----------------] 2s
-----]
-----]
-----]
-----]
[=======>------------------------------------------------------------------------] 9s
==========================================================================] 10s
|
[-----------------------------------------------------------------------------------]
[===============>----------------------------------------------------------------] 8s
-----]
[=======================>--------------------------------------------------------] 7s
-----]
[===============================>------------------------------------------------] 6s
-----]
[=======================================>----------------------------------------] 5s
-----]
[===============================================>--------------------------------] 4s
-----]
[=======================================================>------------------------] 3s
-----]
[===============================================================>----------------] 2s
[=======>------------------------------------------------------------------------] 9s
[=======>------------------------------------------------------------------------] 9s
-----]
[=======>------------------------------------------------------------------------] 9s
[=======>------------------------------------------------------------------------] 9s
[===========================================================================] 0s
[==========================================================================] 10s
|
||||||
Done!
|
Done!
|
||||||
Statistics Avg Stdev Max
|
Statistics Avg Stdev Max
|
||||||
Reqs/sec 40593.62 10690.23 54740
|
Reqs/sec 42487.26 9452.41 53042
|
||||||
Latency 1.23ms 804.48us 5.19ms
|
Latency 1.17ms 742.47us 12.53ms
|
||||||
HTTP codes:
|
HTTP codes:
|
||||||
1xx - 0, 2xx - 405973, 3xx - 0, 4xx - 0, 5xx - 0
|
1xx - 0, 2xx - 424966, 3xx - 0, 4xx - 0, 5xx - 0
|
||||||
others - 0
|
others - 0
|
||||||
Throughput: 7.47MB/s
|
Throughput: 7.82MB/s
|
||||||
--- DONE ---
|
|
||||||
|
|
||||||
--- IRIS ---
|
|
||||||
Now listening on: http://localhost:8082
|
|
||||||
Application started. Press CTRL+C to shut down.
|
|
||||||
2017/11/04 13:13:04 http server started on port 8082
|
|
||||||
*** 50 connections, 10 seconds
|
|
||||||
Bombarding http://127.0.0.1:8082 for 10s using 50 connections
|
|
||||||
[-----------------------------------------------------------------------------------]
[=======>------------------------------------------------------------------------] 9s
[===============>----------------------------------------------------------------] 8s
[=======================>--------------------------------------------------------] 7s
[===============================>------------------------------------------------] 6s
[=======================================>----------------------------------------] 5s
[===============================================>--------------------------------] 4s
[=======================================================>------------------------] 3s
[===============================================================>----------------] 2s
[=======================================================================>--------] 1s
[================================================================================] 0s
[===============================================================================] 10s
|
|
||||||
Done!
|
|
||||||
Statistics Avg Stdev Max
|
|
||||||
Reqs/sec 40927.73 9844.04 53086
|
|
||||||
Latency 1.22ms 831.65us 5.94ms
|
|
||||||
HTTP codes:
|
|
||||||
1xx - 0, 2xx - 409297, 3xx - 0, 4xx - 0, 5xx - 0
|
|
||||||
others - 0
|
|
||||||
Throughput: 7.53MB/s
|
|
||||||
--- DONE ---
|
--- DONE ---
|
||||||
|
|
||||||
--- FASTHTTP ---
|
--- FASTHTTP ---
|
||||||
2017/11/04 13:13:16 http server started on port 8083
|
2017/11/06 11:43:27 http server started on port 8083
|
||||||
*** 50 connections, 10 seconds
|
*** 50 connections, 10 seconds
|
||||||
Bombarding http://127.0.0.1:8083 for 10s using 50 connections
|
Bombarding http://127.0.0.1:8083 for 10s using 50 connections
|
||||||
[-----------------------------------------------------------------------------------]
[=======>------------------------------------------------------------------------] 9s
[===============>----------------------------------------------------------------] 8s
[=======================>--------------------------------------------------------] 7s
[===============================>------------------------------------------------] 6s
[=======================================>----------------------------------------] 5s
[===============================================>--------------------------------] 4s
[=======================================================>------------------------] 3s
[===============================================================>----------------] 2s
-----]
-----]
-----]
-----]
[=======>------------------------------------------------------------------------] 9s
==========================================================================] 10s
|
[------------------------------------------------------------------------------]
[=======>-------------------------------------------------------------------] 9s
[==============>------------------------------------------------------------] 8s
[======================>----------------------------------------------------] 7s
[=============================>---------------------------------------------] 6s
[=====================================>-------------------------------------] 5s
[============================================>------------------------------] 4s
[====================================================>----------------------] 3s
[===========================================================>---------------] 2s
[===================================================================>-------] 1s
[===========================================================================] 0s
[==========================================================================] 10s
|
||||||
Done!
|
Done!
|
||||||
Statistics Avg Stdev Max
|
Statistics Avg Stdev Max
|
||||||
Reqs/sec 103488.80 3859.56 119771
|
Reqs/sec 104926.32 2744.15 117354
|
||||||
Latency 481.02us 262.48us 12.84ms
|
Latency 474.64us 255.41us 11.06ms
|
||||||
HTTP codes:
|
HTTP codes:
|
||||||
1xx - 0, 2xx - 1034845, 3xx - 0, 4xx - 0, 5xx - 0
|
1xx - 0, 2xx - 1049311, 3xx - 0, 4xx - 0, 5xx - 0
|
||||||
others - 0
|
others - 0
|
||||||
Throughput: 20.82MB/s
|
Throughput: 21.11MB/s
|
||||||
--- DONE ---
|
--- DONE ---
|
||||||
|
|
||||||
--- EVIO ---
|
--- EVIO ---
|
||||||
2017/11/04 13:13:27 http server started on port 8084
|
2017/11/06 11:43:38 http server started on port 8084
|
||||||
*** 50 connections, 10 seconds
|
*** 50 connections, 10 seconds
|
||||||
Bombarding http://127.0.0.1:8084 for 10s using 50 connections
|
Bombarding http://127.0.0.1:8084 for 10s using 50 connections
|
||||||
[-----------------------------------------------------------------------------------]
[=======>------------------------------------------------------------------------] 9s
[===============>----------------------------------------------------------------] 8s
[=======================>--------------------------------------------------------] 7s
[===============================>------------------------------------------------] 6s
[=======================================>----------------------------------------] 5s
[===============================================>--------------------------------] 4s
[=======================================================>------------------------] 3s
[===============================================================>----------------] 2s
-----]
-----]
-----]
-----]
[=======>------------------------------------------------------------------------] 9s
==========================================================================] 10s
|
[-----------------------------------------------------------------------------------]
[===============>----------------------------------------------------------------] 8s
-----]
[=======================>--------------------------------------------------------] 7s
-----]
[===============================>------------------------------------------------] 6s
-----]
[=======================================>----------------------------------------] 5s
-----]
[===============================================>--------------------------------] 4s
-----]
[=======================================================>------------------------] 3s
-----]
[===============================================================>----------------] 2s
[=======>------------------------------------------------------------------------] 9s
[=======>------------------------------------------------------------------------] 9s
-----]
[=======>------------------------------------------------------------------------] 9s
[=======>------------------------------------------------------------------------] 9s
[===========================================================================] 0s
[==========================================================================] 10s
|
||||||
Done!
|
Done!
|
||||||
Statistics Avg Stdev Max
|
Statistics Avg Stdev Max
|
||||||
Reqs/sec 121495.63 2440.47 127822
|
Reqs/sec 123821.87 2821.88 130897
|
||||||
Latency 409.61us 127.63us 10.56ms
|
Latency 401.99us 121.11us 12.88ms
|
||||||
HTTP codes:
|
HTTP codes:
|
||||||
1xx - 0, 2xx - 1215280, 3xx - 0, 4xx - 0, 5xx - 0
|
1xx - 0, 2xx - 1238166, 3xx - 0, 4xx - 0, 5xx - 0
|
||||||
others - 0
|
others - 0
|
||||||
Throughput: 19.00MB/s
|
Throughput: 19.60MB/s
|
||||||
--- DONE ---
|
--- DONE ---
|
||||||
|
|
||||||
--- BENCH HTTP DONE ---
|
--- BENCH HTTP DONE ---
|
||||||
|
|
Loading…
Reference in New Issue