Closed xet7 closed 10 months ago
There's apache bench (ab) which we used to use back in the day, but I don't know if it's still good. I thought wrk was written in Go. What is it doing with LuaJIT. It'd probably be easier to just write our own benchmark program at this point. Because Cosmo does not support building Go apps right now either :\
Question about one executeable
wrk
binary?Is there possibility to make one cosmocc static executeable
wrk
binary, that does not need any other extra files? And would work also at s390x, with blink?What works
wrk
benchmarking tool https://github.com/wg/wrk executeable binary is available at Ubuntu x86_64 and brew, and works there to test redbean like this:What does not work
wrk
executeable binary is not available at:I also could not yet find working syntax how to benchmark with
ab
Apache benchmarking tool, that is available with s390xHow I tried to compile wrk at s390x
a) When compiling wrk at s390x, I get errors about "No support for this architecture (yet)" :
b) At
wrk/INSTALL
is some info for using existing dependencies, but I did not yet find how to include lua.h:c) When I try to use blink to run wrk, it seems i$t needs some library:
d) Maybe it could maybe work, if I would continue trying to copy dependencies, and set LD_LIBRARY_PATH:
e) It looks like s390x support is not yet merged to LuaJIT https://github.com/LuaJIT/LuaJIT/pull/395
f) With alternative like https://github.com/tsliwowicz/go-wrk I get this error, of not all required syntax not being same or missing: