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

Commit 5b833f6

Browse files
lwsantykuba--
authored andcommitted
add driver level performance tests to driver template's Jenkinsfile (#430)
closes #429 Signed-off-by: lwsanty <lwsanty@gmail.com>
1 parent a862f7d commit 5b833f6

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

assets/skeleton/bindata.go

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/skeleton/Jenkinsfile.tpl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ spec:
5858
sh "/root/bblfsh-performance parse-and-store --language=${env.DRIVER_LANGUAGE} --commit=${env.GIT_COMMIT} --storage=prom ${env.BENCHMARK_FILE}"
5959
}
6060
}
61+
stage('Run driver-native benchmark') {
62+
when { branch 'master' }
63+
steps {
64+
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}"
65+
}
66+
}
67+
stage('Run driver benchmark') {
68+
when { branch 'master' }
69+
steps {
70+
sh "/root/bblfsh-performance driver --language=${env.DRIVER_LANGUAGE} --commit=${env.GIT_COMMIT} --storage=prom ${env.DRIVER_SRC_FIXTURES}"
71+
}
72+
}
6173
stage('Run end-to-end benchmark') {
6274
when { branch 'master' }
6375
steps {

0 commit comments

Comments
 (0)