[Updated] Dockerfiles so everything runs using docker compose up, added the benchmark and speed tests

This commit is contained in:
Ninjaws
2024-11-01 19:52:53 +01:00
parent 675bdc7f8e
commit 595b83b364
14 changed files with 143 additions and 17 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
start_time=$(date +%s)
for i in {1..6}; do
./LoadTestOne.sh &
sleep 0.1
done
wait # Wait for all background jobs to finish
end_time=$(date +%s) # Capture the end time
# Calculate and print the elapsed time
elapsed_time=$((end_time - start_time))
echo "Done!"
echo "Total time taken: $elapsed_time seconds"