All:

I am testing an application that has a latency of the order of few to 
several microseconds.  I wrote a benchmark and measured the performance.  I 
also computed the elapsed time using time.Now() and time.Since().  (I will 
change this to time,Nanoseconds and try shortly.

I found the computed latencies had a large variation.

Set size: 22024 

Min: 20, Max: 936 Average: 32 SD: 43 all in microseconds 


 It's skewed towards the lower end of the spectrum.  go test itself 
reported 56 microseconds as the response time.

   1. Is this variation due to garbage collection?
   1. If so, can the variation be somehow reduced by tuning the garbage 
      collector?
   

I will appreciate any references or thoughts.

With regards,

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

Reply via email to