Open kunaltyagi opened 4 years ago
@kunaltyagi I have started working on benchmark for PCL as I have created a seperate benchmark folder and went through https://github.com/taketwo/pcl-transforms/blob/master/bench/bench_transforms.cpp
@kunaltyagi I have found the solution for that error I mentioned in discord channel.
I think using google benchmark would be a good fit since we already use google tests. Any reason not to use google benchmark?
Both attack the issue from 2 ideas.
Google benchmark seems to be more flexible and well documented. Perhaps @taketwo can tell why he used Celero over Google Benchmark.
@kunaltyagi I have started working on benchmark for PCL using google benchmark. Should I continue with that only?
It's not difficult to shift from one to another framework. Please continue using what you're using (and hopefully start a PR when PoC is ready to start integration)
Sure @kunaltyagi
Hi everyone, I started PR #4506 with some (very early) ideas for PCL benchmarks. Feel free to add comments. Some more ideas/considerations about benchmarks from me:
Thanks @mvieth for the summary.
CI: typo
and CI: benchmark
would be a pretty slick way for the maintainers to opt-out of all and opt-into the more expensive benchmark CIs.ci/azure-pipelines/documentation.yaml
could be adapted for that. But I think the baseline should be computed more often than releases, maybe weekly (like sunday midnight build)
Is your feature request related to a problem? Please describe.
Benchmarks will allow developers to test their change and iterate faster simply by recompiling (and saving the binaries) and running the benchmark tests.
Context
PCL has no bench-marking, which allows some regressions to slip through.
Describe the solution you'd like
benchmarks