Skip to content

Commit

Permalink
add benchmarks/your_benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary W Sweger committed Sep 20, 2024
1 parent 7ef53b6 commit 3a0e52f
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,33 +115,35 @@ common:detector:
- runner_system_failure

include:
- local: 'benchmarks/diffractive_vm/config.yml'
- local: 'benchmarks/demp/config.yml'
- local: 'benchmarks/dis/config.yml'
#- local: 'benchmarks/diffractive_vm/config.yml'
#- local: 'benchmarks/demp/config.yml'
#- local: 'benchmarks/dis/config.yml'
#- local: 'benchmarks/dvmp/config.yml'
- local: 'benchmarks/dvcs/config.yml'
- local: 'benchmarks/lambda/config.yml'
- local: 'benchmarks/neutron/config.yml'
- local: 'benchmarks/sigma/config.yml'
- local: 'benchmarks/tcs/config.yml'
- local: 'benchmarks/u_omega/config.yml'
#- local: 'benchmarks/dvcs/config.yml'
#- local: 'benchmarks/lambda/config.yml'
#- local: 'benchmarks/neutron/config.yml'
#- local: 'benchmarks/sigma/config.yml'
#- local: 'benchmarks/tcs/config.yml'
#- local: 'benchmarks/u_omega/config.yml'
- local: 'benchmarks/single/config.yml'
- local: 'benchmarks/backgrounds/config.yml'
#- local: 'benchmarks/backgrounds/config.yml'
- local: 'benchmarks/your_benchmark/config.yml'

summary:
stage: finish
needs:
- "diffractive_vm:results"
- "demp:results"
- "dis:results"
- "dvcs:results"
- "lambda:results"
- "neutron:results"
- "sigma:results"
- "tcs:results"
- "u_omega:results"
#- "diffractive_vm:results"
#- "demp:results"
#- "dis:results"
#- "dvcs:results"
#- "lambda:results"
#- "neutron:results"
#- "sigma:results"
#- "tcs:results"
#- "u_omega:results"
- "single:results"
- "backgrounds:results"
#- "backgrounds:results"
- "your_benchmark:results"
script:
- collect_benchmarks.py
- find results -print | sort | tee summary.txt
Expand Down
42 changes: 42 additions & 0 deletions benchmarks/your_benchmark/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
your_benchmark:compile:
extends: .phy_benchmark
stage: compile
script:
- echo "You can compile your code here!"

your_benchmark:generate:
extends: .phy_benchmark
stage: generate
script:
- echo "I will generate events here!"
- echo "Add event-generator code to do this"

your_benchmark:simulate:
extends: .phy_benchmark
stage: simulate
script:
- echo "I will simulate detector response here!"

your_benchmark:reconstruct:
extends: .phy_benchmark
stage: reconstruct
script:
- echo "Event reconstruction here!"

your_benchmark:analyze:
extends: .phy_benchmark
stage: analyze
needs:
- ["your_benchmark:reconstruct"]
script:
- echo "I will analyze events here!"
- echo "This step requires that the reconstruct step be completed"

your_benchmark:results:
extends: .phy_benchmark
stage: collect
needs:
- ["your_benchmark:analyze"]
script:
- echo "I will collect results here!"
- echo "This step requires that the analyze step be completed"

0 comments on commit 3a0e52f

Please sign in to comment.