Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
add driver level performance tests to driver template's Jenkinsfile (#…
Browse files Browse the repository at this point in the history
…430)

closes #429

Signed-off-by: lwsanty <lwsanty@gmail.com>
  • Loading branch information
lwsanty authored and kuba-- committed Sep 23, 2019
1 parent a862f7d commit 5b833f6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
18 changes: 15 additions & 3 deletions assets/skeleton/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions etc/skeleton/Jenkinsfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ spec:
sh "/root/bblfsh-performance parse-and-store --language=${env.DRIVER_LANGUAGE} --commit=${env.GIT_COMMIT} --storage=prom ${env.BENCHMARK_FILE}"
}
}
stage('Run driver-native benchmark') {
when { branch 'master' }
steps {
sh "/root/bblfsh-performance driver-native --language=${env.DRIVER_LANGUAGE} --commit=${env.GIT_COMMIT} --native=/root/utils/native-driver-performance --storage=prom ${env.DRIVER_SRC_FIXTURES}"
}
}
stage('Run driver benchmark') {
when { branch 'master' }
steps {
sh "/root/bblfsh-performance driver --language=${env.DRIVER_LANGUAGE} --commit=${env.GIT_COMMIT} --storage=prom ${env.DRIVER_SRC_FIXTURES}"
}
}
stage('Run end-to-end benchmark') {
when { branch 'master' }
steps {
Expand Down

0 comments on commit 5b833f6

Please sign in to comment.