aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-03-07 20:04:50 +0000
committerAria Shrimpton <me@aria.rip>2024-03-07 20:04:50 +0000
commitedea4fe292ebb2cbeaa2f53d6eabd09ec879fe7c (patch)
treedfa90edb48e3995c9318b99ea3666f470e8f506b /analysis/Justfile
parentec9b164e0ff3ef323958b45cb6046e25b3d865bd (diff)
separate benchmarks into different jobs and stuff
Diffstat (limited to 'analysis/Justfile')
-rw-r--r--analysis/Justfile26
1 files changed, 14 insertions, 12 deletions
diff --git a/analysis/Justfile b/analysis/Justfile
index 837a79e..6e356ac 100644
--- a/analysis/Justfile
+++ b/analysis/Justfile
@@ -1,17 +1,19 @@
default:
livebook server
-fetch job: (download-log job) (download-other job)
+fetch-log job outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ curl https://git.tardisproject.uk/tcmal/dissertation/-/jobs/{{job}}/raw > {{justfile_directory()}}/{{outp}}/log
+ ./split-log.py {{justfile_directory()}}/{{outp}}/log
+ grep -R -H -i 'error' {{justfile_directory()}}/{{outp}}/sections/
-download-log job:
- mkdir -p {{justfile_directory()}}/{{job}}
- curl https://git.tardisproject.uk/tcmal/dissertation/-/jobs/{{job}}/raw > {{justfile_directory()}}/{{job}}/log
- ./split-log.py {{justfile_directory()}}/{{job}}/log
- grep -R -H -i 'error' {{justfile_directory()}}/{{job}}/sections/
+fetch-cost-models outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{outp}}/candelabra
-download-other job:
- rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{job}}/criterion
- rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{job}}/candelabra
- rm -rf {{justfile_directory()}}/{{job}}/criterion/report
- find {{justfile_directory()}}/{{job}}/criterion -iname '*.svg' -exec rm '{}' \;
- find {{justfile_directory()}}/{{job}}/criterion -iname '*.html' -exec rm '{}' \;
+fetch-comparisons outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{outp}}/criterion
+ rm -rf {{justfile_directory()}}/{{outp}}/criterion/report
+ find {{justfile_directory()}}/{{outp}}/criterion -iname '*.svg' -exec rm '{}' \;
+ find {{justfile_directory()}}/{{outp}}/criterion -iname '*.html' -exec rm '{}' \;