Add a Divan adapter
https://github.com/nvzqz/divan
For now the adapter will need to parse the text output: https://github.com/nvzqz/divan/issues/10
It would be nice to have https://github.com/bencherdev/bencher/issues/240 complete or once implemented do auto-tagging of the generic benchmarks. From the announcement post:
scratch fastest โ slowest โ median โ mean โ samples โ iters
โโ from_str โ โ โ โ โ
โ โโ &str 0.738 ns โ 0.799 ns โ 0.759 ns โ 0.757 ns โ 100 โ 409600
โ โฐโ String 26.8 ns โ 32.18 ns โ 30.39 ns โ 30.42 ns โ 100 โ 25600
โฐโ init_array โ โ โ โ โ
โโ 1000 572.5 ns โ 598.6 ns โ 583 ns โ 584.5 ns โ 100 โ 800
โโ 2000 1.155 ยตs โ 1.197 ยตs โ 1.166 ยตs โ 1.165 ยตs โ 100 โ 400
โฐโ 3000 1.759 ยตs โ 1.801 ยตs โ 1.77 ยตs โ 1.77 ยตs โ 100 โ 400
This would add tags &str and String for from_str; 1000, 2000, and 3000 for init_array.
Note though that each generic benchmark would be "monomorphized". There would be both from_str<&str> and a from_str<String> benchmark created in Bencher.
Heads up that I'm planning to get JSON output published soon. Parameters (args, types, thread count) will be properties of benchmark runs rather than part of the benchmark path. The last component of the benchmark path will be the benchmarked function. It will be up to programs consuming the output to determine how they want to present parameters.