Hi everyone, I was looking into evaluating the performance of some library I’m writing and I was able to write a dune test comparing it to other libraries fairly easily (with the benchmark package). However this requires to have all the pieces of code you want to test available, and in many cases I would like to compare several approaches for the same code which would most naturally be found in different commits or branches, and having them side by side would involve some tedious copying and renaming of things. Does anyone have a good workflow to share for how to do this? Ideally I would like to have an arbitrary collection of functions taken from different branches (not necessarily the same name in each branch) in one big benchmark.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Profiling OCaml programs | 5 | 966 | February 16, 2024 | |
[ANN] Dune 2.7.0 | 6 | 1472 | August 20, 2020 | |
Dune package management update | 0 | 180 | April 11, 2025 | |
Dune wish list for 2023 | 74 | 4755 | May 4, 2025 | |
[ANN] Dune Developer Preview Updates | 60 | 5438 | April 8, 2025 |