Skip to content

armgit / hey

Public Imported from GitHub
0

HTTP load generator, ApacheBench (ab) replacement

Go

Replacing bar char with a medium sized.

Burcu Dogan0d1ba1c335ef
diff --git a/README.md b/README.md
index 53cc9c8..88d3bd0 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ boom supports custom headers, request body and basic authentication. It runs pro
This is what happens when you run boom:
% boom -n 1000 -c 100 https://google.com
- 1000 / 1000 ████████████████████████████████████████████████████████ 100.00 %
+ 1000 / 1000 ∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎ 100.00 %
Summary:
Total: 21.1307 secs.
@@ -50,12 +50,12 @@ This is what happens when you run boom:
0.987 [1] |
1.188 [2] |
1.389 [3] |
- 1.590 [18] |██
- 1.790 [85] |███████████
- 1.991 [244] |████████████████████████████████
- 2.192 [284] |█████████████████████████████████████
- 2.393 [304] |████████████████████████████████████████
- 2.594 [50] |██████
+ 1.590 [18] |∎∎
+ 1.790 [85] |∎∎∎∎∎∎∎∎∎∎∎
+ 1.991 [244] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
+ 2.192 [284] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
+ 2.393 [304] |∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
+ 2.594 [50] |∎∎∎∎∎∎
2.795 [5] |
2.996 [4] |
diff --git a/commands/print.go b/commands/print.go
index fc900dd..2499f48 100644
--- a/commands/print.go
+++ b/commands/print.go
@@ -22,7 +22,7 @@ import (
)
const (
- barChar = "█"
+ barChar = "∎"
)
type report struct {