kemal-github-api
kemal-github-api copied to clipboard
Comparing with falcon.
> wrk -c 100 -d 10 http://localhost:3000/applications/123/tokens/123
Running 10s test @ http://localhost:3000/applications/123/tokens/123
2 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.12ms 3.38ms 59.66ms 79.25%
Req/Sec 10.29k 364.12 11.09k 67.50%
204808 requests in 10.03s, 38.09MB read
Requests/sec: 20421.53
Transfer/sec: 3.80MB
I could not get this benchmark to run with Crystal:
samuel@koyoko /t/kemal-github-api (master)> bash -c "crystal build --release src/kemal-github-api.cr -o bin/kemal-github-api"
/usr/bin/ld: cannot open output file /tmp/kemal-github-api/bin/kemal-github-api: No such file or directory
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /tmp/kemal-github-api/bin/kemal-github-api -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lm -lgc -lpthread /usr/lib/crystal/ext/libcrystal.a -levent -lrt -ldl`
@ioquatix What about your error for Crystal - try to create this folder manually.