mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +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
|
||||
sleep 1
|
||||
done
|
||||
python percentiles.py ${TAG}-${JDK}.csv results_${TAG}-${JDK}-*.csv
|
||||
python percentiles.py ${TAG}-${JDK}.csv results_${TAG}-${JDK}-?.csv
|
||||
}
|
||||
|
||||
function checks () {
|
||||
|
|
|
@ -12,7 +12,8 @@ def get_percentile(percentile, values):
|
|||
latencies = []
|
||||
percentiles = []
|
||||
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:
|
||||
with open(input_filename) as input_file:
|
||||
for line in input_file:
|
||||
|
|
|
@ -20,7 +20,7 @@ if [ "$2" == "jdk8dev" ];
|
|||
then
|
||||
export JAVA_HOME=../../jdk/jdk8dev
|
||||
fi
|
||||
if [ "$2" == "" ];
|
||||
if [ "$2" == "jdk11" ];
|
||||
then
|
||||
export JAVA_HOME=../../jdk/jdk-11.0.7+10
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue