update readme
This commit is contained in:
parent
563cf19068
commit
38a153c546
|
@ -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">
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"language": "python",
|
||||||
|
"source": "print('test')",
|
||||||
|
"stdin": "",
|
||||||
|
"args": []
|
||||||
|
}
|
Loading…
Reference in New Issue