mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-02-23 00:45:22 +01:00
CI: run JMH benchmark
This commit is contained in:
parent
1b944c38f0
commit
acbefbe554
@ -10,3 +10,16 @@ java:
|
|||||||
when: always
|
when: always
|
||||||
reports:
|
reports:
|
||||||
junit: app/build/test-results/test/**/TEST-*.xml
|
junit: app/build/test-results/test/**/TEST-*.xml
|
||||||
|
expire_in: 6 month
|
||||||
|
|
||||||
|
jmh:
|
||||||
|
image: alpine:latest
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- apk --no-cache add openjdk23 gradle --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/
|
||||||
|
- gradle jmh --no-daemon
|
||||||
|
# https://docs.gitlab.com/ee/ci/jobs/job_artifacts.html
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- app/build/reports/jmh/*
|
||||||
|
expire_in: 6 month
|
||||||
|
@ -97,9 +97,9 @@ jmh {
|
|||||||
forceGC = true
|
forceGC = true
|
||||||
|
|
||||||
// If human output is saved, it won't be written to stdout while running the benchmark!
|
// If human output is saved, it won't be written to stdout while running the benchmark!
|
||||||
//humanOutputFile = project.file("${project.layout.buildDirectory.get()}/reports/jmh/human.txt")
|
humanOutputFile = project.file("${project.layout.buildDirectory.get()}/reports/jmh/human.txt")
|
||||||
|
|
||||||
resultsFile = project.file("${project.layout.buildDirectory.get()}/reports/jmh/results.txt")
|
resultsFile = project.file("${project.layout.buildDirectory.get()}/reports/jmh/results.csv")
|
||||||
resultFormat = "CSV"
|
resultFormat = "CSV"
|
||||||
|
|
||||||
excludes = listOf(
|
excludes = listOf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user