update readme

This commit is contained in:
Brian Seymour 2021-01-23 13:57:13 -06:00
parent 563cf19068
commit 38a153c546
3 changed files with 19 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<br> <br>
<p align="center"> <p align="center">
<a href="https://github.com/ArmynC/ArminC-AutoExec/commits/master"> <a href="https://github.com/engineer-man/piston/commits/master">
<img src="https://img.shields.io/github/last-commit/engineer-man/piston.svg?style=for-the-badge&logo=github&logoColor=white" <img src="https://img.shields.io/github/last-commit/engineer-man/piston.svg?style=for-the-badge&logo=github&logoColor=white"
alt="GitHub last commit"> alt="GitHub last commit">
<a href="https://github.com/engineer-man/piston/issues"> <a href="https://github.com/engineer-man/piston/issues">

12
var/benchmark.txt Normal file
View 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

View File

@ -0,0 +1,6 @@
{
"language": "python",
"source": "print('test')",
"stdin": "",
"args": []
}