Skip to content

Commit

Permalink
Further refactoring of the benchmark #2
Browse files Browse the repository at this point in the history
 - Support parameters as normal arguments instead of properties
 - Restructured benchmark setup to reduce code duplication
 - Only supporting single queries instead of collections of queries
 - Updated execution script
  • Loading branch information
ujhelyiz committed Aug 10, 2017
1 parent b4e762c commit fc89834
Show file tree
Hide file tree
Showing 40 changed files with 644 additions and 662 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ pipeline {

post {
always {
archiveArtifacts 'com.incquerylabs.instaschema.test/results/**, benchmark/**'
junit '**/TEST-*.xml'
archiveArtifacts 'com.incquerylabs.instaschema.performance/results/**, benchmark/**'
}
success {
slackSend channel: "magicdraw-notificatio",
Expand Down
6 changes: 3 additions & 3 deletions benchmark/convert_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ cd "$( cd "$( dirname "$0" )" && pwd )"
rm -rf ${WORKSPACE}/benchmark/results
mkdir ${WORKSPACE}/benchmark/results

cd ${WORKSPACE}/com.incquerylabs.benchmark.test/results
cd ${WORKSPACE}/com.incquerylabs.instaschema.performance/results

for i in $(ls -d */); do
echo ${i};

if [ "warmup/" == ${i} ]; then
if [ "warmup/" == ${i} ] || [ "log/" == ${i} ]; then
echo "SKIP"
else
echo "PROCESS"
mkdir ${WORKSPACE}/benchmark/results/${i}
python3 ${WORKSPACE}/mondo-sam/reporting/convert_results.py --source ${WORKSPACE}/com.incquerylabs.benchmark.test/results/${i} \
python3 ${WORKSPACE}/mondo-sam/reporting/convert_results.py --source ${WORKSPACE}/com.incquerylabs.instaschema.performance/results/${i} \
--jsonfile ${WORKSPACE}/benchmark/results/${i}results.json \
--csvfile ${WORKSPACE}/benchmark/results/${i}results.csv
fi
Expand Down
39 changes: 0 additions & 39 deletions com.incquerylabs.benchmark.performance/Run Benchmark.launch

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit fc89834

Please sign in to comment.