mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-14 23:56:27 +02:00
update readme
This commit is contained in:
parent
563cf19068
commit
38a153c546
3 changed files with 19 additions and 1 deletions
12
var/benchmark.txt
Normal file
12
var/benchmark.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
ab -c 30 -n 1000 \
|
||||
https://emkc.org/api/v1/piston/versions
|
||||
|
||||
ab -c 30 -n 1000 \
|
||||
-p benchmark_payload.txt \
|
||||
-T 'application/json' \
|
||||
https://emkc.org/api/v1/piston/execute
|
||||
|
||||
|
||||
time for i in {1..100}; do
|
||||
timeout -s KILL 3 lxc-attach --clear-env -n piston -- /bin/bash -l -c "runuser runner1 /bin/bash -c 'ls -l '"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue