Mercurial > repos > public > sbplib_julia
diff benchmark/run_and_view.jl @ 1180:37f29a3a78dc tooling/benchmarks
Add some comments
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 27 Jan 2023 11:31:07 +0100 |
parents | d6038ceba882 |
children | f49bac53e72b |
line wrap: on
line diff
--- a/benchmark/run_and_view.jl Fri Jan 27 11:27:48 2023 +0100 +++ b/benchmark/run_and_view.jl Fri Jan 27 11:31:07 2023 +0100 @@ -15,6 +15,8 @@ open_in_default_browser(file_path) end +# TBD: What parts are PkgBenchmark contributing? Can it be stripped out? Can we replace the html output part? + function run_benchmark() r = PkgBenchmark.benchmarkpkg(Sbplib) @@ -43,6 +45,7 @@ dt = Dates.format(PkgBenchmark.date(r), "yyyy-mm-dd HH:MM:SS") Mustache.render(io, template, Dict("title"=>dt, "content"=>content)) end +## Fix the writing of the commit, it chops off all the important info function write_result_html(r) dt = Dates.format(PkgBenchmark.date(r), "yyyy-mm-dd HHMMSS")