What's the meaning of `Duration: 30.18s, Total samples = 26.26s (87.00%)` in go pprof?


(Cifer) #1

As my understanding, pprof stops and samples go program at every 10ms. So a 30s program should got 3000 samples, but what’s the meaning of the 26.26s? How can the samples count be shown as time duration?

What’s more, I even ever got such output shows that the sample time is bigger than wall time, how could it be such result?

Duration: 5.13s, Total samples = 5.57s (108.58%)


(system) closed #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.