Skip to content

Commit

Permalink
add benchmarks/your_benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdkay committed Oct 3, 2024
1 parent de8b2f7 commit d00b329
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,25 +107,27 @@ common:setup:
- runner_system_failure

include:
- local: 'benchmarks/diffractive_vm/config.yml'
- local: 'benchmarks/demp/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/tcs/config.yml'
- local: 'benchmarks/u_omega/config.yml'
- local: 'benchmarks/backgrounds/config.yml'
# - local: 'benchmarks/dvcs/config.yml'
# - local: 'benchmarks/tcs/config.yml'
# - local: 'benchmarks/u_omega/config.yml'
# - local: 'benchmarks/backgrounds/config.yml'
- local: 'benchmarks/your_benchmark/config.yml'

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

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

your_benchmark:results:
extends: .phy_benchmark
stage: collect
script:
- echo "I will collect results here!"

0 comments on commit d00b329

Please sign in to comment.