mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
update readme
This commit is contained in:
parent
563cf19068
commit
38a153c546
3 changed files with 19 additions and 1 deletions
|
@ -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
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
|
6
var/benchmark_payload.txt
Normal file
6
var/benchmark_payload.txt
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"language": "python",
|
||||||
|
"source": "print('test')",
|
||||||
|
"stdin": "",
|
||||||
|
"args": []
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue