using the standard Benchmark module, I start to write some code like as usual, however I have one doubt: How can I compare two different versions of the same module?
For instance, I have a stable module version 1.0 and some parts may need some attention. So I decided to start write the version 1.1 in another branch and...
I can write a perl benchmark script that can output a series of timethese calls to compare different aspects of the code and run against both versions then check the output.
My question is... how can I compare two benchmark outputs? is there a benchmark diff tool?
I was checking around metacpan and find nothing to help me. And what google gives me is examples of benchmark using cmpthese
but it compares two codes in the same codebase.
My other option is to create a Package::Under::Test2
that is a copy of the original package and perform modifications and in the end I just substitute rename the package but it seems... ugly
For instance, on golang we have the tool benchstat that can compare two benchmarks outputs and produce some statistics.
suggestions?