Skip to content

Commit

Permalink
removed iris from benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Nov 6, 2017
1 parent 91a7a6b commit 482c5c9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 37 deletions.
2 changes: 0 additions & 2 deletions benchmarks/bench-http.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ trap cleanup EXIT
mkdir -p bin
$(pkill -9 net-http-server || printf "")
$(pkill -9 fasthttp-server || printf "")
$(pkill -9 iris-server || printf "")
$(pkill -9 evio-http-server || printf "")

function gobench {
Expand All @@ -34,6 +33,5 @@ function gobench {
}

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 "EVIO" bin/evio-http-server ../examples/http-server/main.go 8084
Binary file modified benchmarks/out/http.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 18 additions & 35 deletions benchmarks/out/http.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,48 @@
--- BENCH HTTP START ---

--- 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
Bombarding http://127.0.0.1:8081 for 10s using 50 connections
[-----------------------------------------------------------------------------------][=======>------------------------------------------------------------------------] 9s[===============>----------------------------------------------------------------] 8s[=======================>--------------------------------------------------------] 7s[===============================>------------------------------------------------] 6s[=======================================>----------------------------------------] 5s[===============================================>--------------------------------] 4s[=======================================================>------------------------] 3s[===============================================================>----------------] 2s[=======================================================================>--------] 1s[================================================================================] 0s[===============================================================================] 10s
[------------------------------------------------------------------------------][=======>-------------------------------------------------------------------] 9s[==============>------------------------------------------------------------] 8s[======================>----------------------------------------------------] 7s[=============================>---------------------------------------------] 6s[=====================================>-------------------------------------] 5s[============================================>------------------------------] 4s[====================================================>----------------------] 3s[===========================================================>---------------] 2s[===================================================================>-------] 1s[===========================================================================] 0s[==========================================================================] 10s
Done!
Statistics Avg Stdev Max
Reqs/sec 40593.62 10690.23 54740
Latency 1.23ms 804.48us 5.19ms
Reqs/sec 42487.26 9452.41 53042
Latency 1.17ms 742.47us 12.53ms
HTTP codes:
1xx - 0, 2xx - 405973, 3xx - 0, 4xx - 0, 5xx - 0
1xx - 0, 2xx - 424966, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 7.47MB/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
Throughput: 7.82MB/s
--- DONE ---

--- 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
Bombarding http://127.0.0.1:8083 for 10s using 50 connections
[-----------------------------------------------------------------------------------][=======>------------------------------------------------------------------------] 9s[===============>----------------------------------------------------------------] 8s[=======================>--------------------------------------------------------] 7s[===============================>------------------------------------------------] 6s[=======================================>----------------------------------------] 5s[===============================================>--------------------------------] 4s[=======================================================>------------------------] 3s[===============================================================>----------------] 2s[=======================================================================>--------] 1s[================================================================================] 0s[===============================================================================] 10s
[------------------------------------------------------------------------------][=======>-------------------------------------------------------------------] 9s[==============>------------------------------------------------------------] 8s[======================>----------------------------------------------------] 7s[=============================>---------------------------------------------] 6s[=====================================>-------------------------------------] 5s[============================================>------------------------------] 4s[====================================================>----------------------] 3s[===========================================================>---------------] 2s[===================================================================>-------] 1s[===========================================================================] 0s[==========================================================================] 10s
Done!
Statistics Avg Stdev Max
Reqs/sec 103488.80 3859.56 119771
Latency 481.02us 262.48us 12.84ms
Reqs/sec 104926.32 2744.15 117354
Latency 474.64us 255.41us 11.06ms
HTTP codes:
1xx - 0, 2xx - 1034845, 3xx - 0, 4xx - 0, 5xx - 0
1xx - 0, 2xx - 1049311, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 20.82MB/s
Throughput: 21.11MB/s
--- DONE ---

--- 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
Bombarding http://127.0.0.1:8084 for 10s using 50 connections
[-----------------------------------------------------------------------------------][=======>------------------------------------------------------------------------] 9s[===============>----------------------------------------------------------------] 8s[=======================>--------------------------------------------------------] 7s[===============================>------------------------------------------------] 6s[=======================================>----------------------------------------] 5s[===============================================>--------------------------------] 4s[=======================================================>------------------------] 3s[===============================================================>----------------] 2s[=======================================================================>--------] 1s[================================================================================] 0s[===============================================================================] 10s
[------------------------------------------------------------------------------][=======>-------------------------------------------------------------------] 9s[==============>------------------------------------------------------------] 8s[======================>----------------------------------------------------] 7s[=============================>---------------------------------------------] 6s[=====================================>-------------------------------------] 5s[============================================>------------------------------] 4s[====================================================>----------------------] 3s[===========================================================>---------------] 2s[===================================================================>-------] 1s[===========================================================================] 0s[==========================================================================] 10s
Done!
Statistics Avg Stdev Max
Reqs/sec 121495.63 2440.47 127822
Latency 409.61us 127.63us 10.56ms
Reqs/sec 123821.87 2821.88 130897
Latency 401.99us 121.11us 12.88ms
HTTP codes:
1xx - 0, 2xx - 1215280, 3xx - 0, 4xx - 0, 5xx - 0
1xx - 0, 2xx - 1238166, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 19.00MB/s
Throughput: 19.60MB/s
--- DONE ---

--- BENCH HTTP DONE ---
Expand Down

0 comments on commit 482c5c9

Please sign in to comment.