mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
update README
This commit is contained in:
parent
f00714abaa
commit
6a6a2a9345
2 changed files with 7 additions and 7 deletions
11
README.md
11
README.md
|
@ -49,6 +49,9 @@ But, how fast is it? Being blazingly fast is relative. When compared with a
|
|||
simple GO HTTP server, a simple zig zap HTTP server performed really good on my
|
||||
machine:
|
||||
|
||||
- zig zag was nearly 30% faster than GO
|
||||
- zig zag had over 50% more throughput than GO
|
||||
|
||||
**Update**: I was intrigued comparing to a basic rust HTTP server.
|
||||
Unfortunately, knowing nothing at all about rust, I couldn't find one and hence
|
||||
tried to go for the one in [The Rust Programming
|
||||
|
@ -59,15 +62,11 @@ not read files but outputting a static text just like in the other examples.
|
|||
**maybe someone with rust experience** can have a look at my
|
||||
[wrk/rust/hello](wrk/rust/hello) code and tell me why it's surprisingly slow, as
|
||||
I expected it to be faster than the basic GO example. I'll enable the
|
||||
GitHub discussions for this matter. My suspicion is the use of mutexes.
|
||||
GitHub discussions for this matter. My suspicion is bad performance of the
|
||||
mutexes.
|
||||
|
||||

|
||||
|
||||
- zig zag was nearly 30% faster than GO
|
||||
- zig zag had over 50% more throughput than GO
|
||||
- let's better not talk about the rust results. I don't know what causes them.
|
||||
Probably bad mutex performance.
|
||||
|
||||

|
||||
|
||||
So, being somewhere in the ballpark of basic GO performance, zig zap seems to be
|
||||
|
|
|
@ -24,7 +24,8 @@ not read files but outputting a static text just like in the other examples.
|
|||
**maybe someone with rust experience** can have a look at my
|
||||
[wrk/rust/hello](wrk/rust/hello) code and tell me why it's surprisingly slow, as
|
||||
I expected it to be faster than the basic GO example. I'll enable the
|
||||
GitHub discussions for this matter. My suspicion is the use of mutexes .
|
||||
GitHub discussions for this matter. My suspicion is bad performance of the
|
||||
mutexes.
|
||||
|
||||

|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue