Browse Source

Added some more adjustments related to python scripts

Lindsey Tulloch 2 years ago
parent
commit
eb9c6bbf28

+ 0 - 1
Cargo.toml

@@ -11,7 +11,6 @@ ed25519-dalek = "1"
 zkp = "0.8"
 bincode = "1"
 chrono = "0.4"
-#cfg-if = "0.1"
 rand = "0.7"
 serde = "1"
 serde_with = "1.9.1"

+ 1 - 1
Dockerfile

@@ -7,6 +7,6 @@ ADD run_tests_fast.sh .
 ADD Parsing-results ./Parsing-results
 ADD README.md README.md
 RUN apt-get update -y
-RUN apt-get install -y python3
+RUN apt-get install -y python3 python3-pip
 RUN cargo build --release
 ENV SHELL=/bin/bash

+ 3 - 0
Parsing-results/parse_data.sh

@@ -1,6 +1,9 @@
 #!/bin/bash
 
 # Parse results from Lox stat tests
+echo 'Install python dependencies'
+
+pip install -r requirements.txt
 
 echo 'Parse raw output to csv'
 

+ 1 - 0
Parsing-results/performance_stats.csv

@@ -0,0 +1 @@
+Protocol,Request Size,Request Time,sigma,Response Size,Response Time,sigma,Response Handling Time,sigma

+ 1 - 0
Parsing-results/standard_check.csv

@@ -0,0 +1 @@
+Percent,Bridges,RequestS,Rsstdev,RequestT,Rtstdev,ResponseS,Restdev,ResponseT,ReTstdev,ResponseHT,RHTstdev

+ 1 - 0
run_tests_fast.sh

@@ -23,6 +23,7 @@ cargo test --release --features=fast -- --nocapture stats_test_percent_blockage_
 cargo test release --features=fast -- --nocapture stats_test_percent_blockage_migration_100 > blockage_migration_100.log
 echo "Completed all tests, now parsing results"
 mv *.log Parsing-results
+cd Parsing-results
 ./parse_data.sh
 echo "Parse results are in the Parsing-results folder."