comparison README.md @ 1194:007d90b354af tooling/benchmarks

More readme
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 27 Jan 2023 22:09:13 +0100
parents 04dda6aa9673
children 8a1de954bdf9
comparison
equal deleted inserted replaced
1193:04dda6aa9673 1194:007d90b354af
34 34
35 `benchmark/` contains a julia environment with the necessary packages for working with the benchmarks. 35 `benchmark/` contains a julia environment with the necessary packages for working with the benchmarks.
36 36
37 There are custom functions included for running the benchmarks in this Mercurial repository. To use this first activate the environment in `benchmark/` then include the file `benchmark_utils.jl`. 37 There are custom functions included for running the benchmarks in this Mercurial repository. To use this first activate the environment in `benchmark/` then include the file `benchmark_utils.jl`.
38 38
39 The suite can the be run from the REPL by using the function `main` in one of the following ways
40
41 ```julia
42 main()
43 main(rev)
44 main(target, baseline)
45 ```
46
39 ```julia 47 ```julia
40 using PkgBenchmark 48 using PkgBenchmark
41 import Sbplib 49 import Sbplib
42 r = benchmarkpkg(Sbplib) 50 r = benchmarkpkg(Sbplib)
43 51