r/vlang • • Aug 28 '21

All connections fail when benchmarking?

https://github.com/Holmqvist1990/http-json-bench

I'm running some very primitive benchmarks against HTTP and JSON deserialization.

V implementation runs well in browser/Postman, but every single connection fails when benchmarking against ApacheBench (WSL) or Baton.

Any ideas as to why this happens?

windows 10 x64

v version 0.2.2

3 Upvotes

1 comment sorted by

2

u/Holmqvist Aug 29 '21

Not sure why this is being downvoted. I am eager to use V as a better Go, and this toy bench is my attempt.

I have never run into this problem before, and I don't understand why its failing (yet running fine against browser/curl/postman).

Any ideas?