There is a great implementation of HdrHistogram for .NET 
<https://github.com/HdrHistogram/HdrHistogram.NET>, which makes the rest of 
what jHiccup does nearly-trivial to do. I think the main thing keeping from 
porting jHiccup itself to .NET is that it's most common use mode is as a 
java agent (adding hiccup recording to a java program without modifying it 
in any way), and AFAIK .NET does not have a similar agent mechanism.

jHiccup itself is fairly simple and should be easy to port into a library 
you can invoke from within your application, and into a standalone program 
(for measuring control hiccups on an otherwise idle process). It's main 
class 
<https://github.com/giltene/jHiccup/blob/master/src/main/java/org/jhiccup/HiccupMeter.java>
 
is only ~800 lines of code, over half of it in comments and parameter 
parsing logic. People have replicated some of it's logic in their C# stuff 
before (e.g. Matt Warren used it here 
<http://mattwarren.org/2014/06/23/measuring-the-impact-of-the-net-garbage-collector-an-update/>
). 

-- Gil.

On Monday, August 27, 2018 at 12:49:15 PM UTC-7, Mark E. Dawson, Jr. wrote:
>
> Does there exist a port for, or a similar tool to, jHiccup for .NET?
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to