diff --git a/.gitignore b/.gitignore index a30b667..f85af29 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ data/ data.*/ generate-accounts +__pycache__ diff --git a/benchmark/main.py b/benchmark/main.py new file mode 100644 index 0000000..21b9137 --- /dev/null +++ b/benchmark/main.py @@ -0,0 +1,9 @@ +from locust import HttpUser, task, between + + +class MyUser(HttpUser): + wait_time = between(0.1, 1) + + @task + def scoreboard_task(self): + self.client.get("/domjudge/public")