[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770244: ITP: caliper -- framework for writing, running and viewing Java microbenchmarks



On 23 Nov 2014, at 2:34 pm, Jonathan Yu <jawnsy@cpan.org> wrote:

> Hi Tim,
> 
> Is the Java Microbenchmark Harness (JMH) already available in Debian? If so, why do we need Caliper?
> 
> The general consensus (OK, admittedly it's a small sample size) seems to be that JMH is better: https://groups.google.com/forum/#!msg/mechanical-sympathy/m4opvy4xq3U/7lY8x8SvHgwJ - it's reasonably easy to use and seems more likely to be correct than Caliper. This is all pretty anecdotal but a product could do worse than having an endorsement from Java performance expert Martin Thompson.
> 
> If you have existing tests or a project depends on Caliper, then those are certainly valid reasons to package it. But if you're writing new tests and this is for personal use, then I'd suggest considering JMH instead.

Hi Jonathan.  I have to admit not having that much experience with Java benchmarking frameworks so I will defer to you on the matter of the suitability of different libraries.

I’m in the process of trying to package the Dropwizard Metrics library (https://github.com/dropwizard/metrics) which is actually a dependency for Dropwizard itself, and Caliper is a dependency for the metrics library.  I agree that it would be nice to avoid duplicating functionality in the Debian archive but in this case I don’t think there is a way around it right now.


Regards,

Tim.

Reply to: