dsntk | DecisionToolkit
Histogram generator reads an input file named benchmarks.txt placed in data directory. Input file must contain results from Rust benchmarks, exactly like in the example shown below:
test compatibility::level_2::dmn_2_0001::_0001 ... bench: 631.09 ns/iter (+/- 8.76)
test compatibility::level_2::dmn_2_0002::_0001 ... bench: 558.11 ns/iter (+/- 19.47)
test compatibility::level_2::dmn_2_0003::_0001 ... bench: 1,089.91 ns/iter (+/- 15.71)
test compatibility::level_2::dmn_2_0003::_0002 ... bench: 1,191.99 ns/iter (+/- 15.49)
test compatibility::level_2::dmn_2_0004::_0001 ... bench: 3,951.72 ns/iter (+/- 36.64)
test compatibility::level_2::dmn_2_0004::_0002 ... bench: 3,999.83 ns/iter (+/- 49.33)
test compatibility::level_2::dmn_2_0004::_0003 ... bench: 3,912.72 ns/iter (+/- 50.94)
test compatibility::level_2::dmn_2_0005::_0001 ... bench: 3,047.81 ns/iter (+/- 49.33)
test compatibility::level_2::dmn_2_0005::_0002 ... bench: 3,060.80 ns/iter (+/- 24.60)
test compatibility::level_2::dmn_2_0005::_0003 ... bench: 2,991.84 ns/iter (+/- 21.22)
test compatibility::level_2::dmn_2_0006::_0001 ... bench: 3,079.90 ns/iter (+/- 27.66)
test compatibility::level_2::dmn_2_0006::_0002 ... bench: 3,088.53 ns/iter (+/- 23.93)
test compatibility::level_2::dmn_2_0006::_0003 ... bench: 3,038.80 ns/iter (+/- 31.30)
test compatibility::level_2::dmn_2_0007::_0001 ... bench: 2,103.06 ns/iter (+/- 24.66)
test compatibility::level_2::dmn_2_0007::_0002 ... bench: 2,058.55 ns/iter (+/- 29.46)
test compatibility::level_2::dmn_2_0007::_0003 ... bench: 2,043.08 ns/iter (+/- 22.84)
As a result, this application generates output files (also placed in data directory):
- README.md - performance summary.
- histogram.md - histogram data file.
There is a Task command provided to automate generating the histogram:
$ task gen
Licensed under either of
- MIT license (see LICENSE-MIT) or
- Apache License, Version 2.0 (see LICENSE and NOTICE)
at your option.
Any contributions to dsntk-histogram are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.