mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
fix glob of files for percentiles
This commit is contained in:
parent
5bddaa97c8
commit
eae4ee007b
3 changed files with 4 additions and 3 deletions
|
@ -60,7 +60,7 @@ function bench () {
|
||||||
pkill -P $PID
|
pkill -P $PID
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
python percentiles.py ${TAG}-${JDK}.csv results_${TAG}-${JDK}-*.csv
|
python percentiles.py ${TAG}-${JDK}.csv results_${TAG}-${JDK}-?.csv
|
||||||
}
|
}
|
||||||
|
|
||||||
function checks () {
|
function checks () {
|
||||||
|
|
|
@ -12,7 +12,8 @@ def get_percentile(percentile, values):
|
||||||
latencies = []
|
latencies = []
|
||||||
percentiles = []
|
percentiles = []
|
||||||
with open(output_filename, "w") as output_file:
|
with open(output_filename, "w") as output_file:
|
||||||
output_file.write(','.join(input_files) + '\n')
|
headers = [input_file.replace('results_', '').replace('.csv', '') for input_file in input_files]
|
||||||
|
output_file.write(','.join(headers) + '\n')
|
||||||
for input_filename in input_files:
|
for input_filename in input_files:
|
||||||
with open(input_filename) as input_file:
|
with open(input_filename) as input_file:
|
||||||
for line in input_file:
|
for line in input_file:
|
||||||
|
|
|
@ -20,7 +20,7 @@ if [ "$2" == "jdk8dev" ];
|
||||||
then
|
then
|
||||||
export JAVA_HOME=../../jdk/jdk8dev
|
export JAVA_HOME=../../jdk/jdk8dev
|
||||||
fi
|
fi
|
||||||
if [ "$2" == "" ];
|
if [ "$2" == "jdk11" ];
|
||||||
then
|
then
|
||||||
export JAVA_HOME=../../jdk/jdk-11.0.7+10
|
export JAVA_HOME=../../jdk/jdk-11.0.7+10
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue