Mercurial > repos > public > sbplib_julia
comparison benchmark/run_and_view.jl @ 1189:525015283843 tooling/benchmarks
Add the date function to BenchmarkJudment
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 27 Jan 2023 12:20:43 +0100 |
parents | d2e73d7b417d |
children | 1aca445216b8 |
comparison
equal
deleted
inserted
replaced
1188:d2e73d7b417d | 1189:525015283843 |
---|---|
113 end | 113 end |
114 | 114 |
115 return file_path | 115 return file_path |
116 end | 116 end |
117 | 117 |
118 PkgBenchmark.date(j::PkgBenchmark.BenchmarkJudgement) = PkgBenchmark.date(PkgBenchmark.target_result(j)) | |
119 | |
118 function hg_id() | 120 function hg_id() |
119 cmd = Cmd(`hg id`, dir=sbplib_root) | 121 cmd = Cmd(`hg id`, dir=sbplib_root) |
120 return readchomp(addenv(cmd, "HGPLAIN"=>"")) | 122 return readchomp(addenv(cmd, "HGPLAIN"=>"")) |
121 end | 123 end |
122 | 124 |