Skip to content

Instantly share code, notes, and snippets.

@dobegor
Last active October 1, 2020 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dobegor/e64c5d70a59d6b24b4d70d9394e1de55 to your computer and use it in GitHub Desktop.
Save dobegor/e64c5d70a59d6b24b4d70d9394e1de55 to your computer and use it in GitHub Desktop.
go tool pprof /Users/dobegor/pprof/pprof.smart-worker.samples.cpu.011.pb.gz
File: smart-worker
Type: cpu
Time: Oct 1, 2020 at 2:13pm (EEST)
Duration: 32.65s, Total samples = 1.23mins (225.10%)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) top
Showing nodes accounting for 35660ms, 48.52% of 73500ms total
Dropped 1323 nodes (cum <= 367.50ms)
Showing top 10 nodes out of 278
flat flat% sum% cum cum%
8640ms 11.76% 11.76% 8880ms 12.08% runtime.findObject
8410ms 11.44% 23.20% 18570ms 25.27% runtime.scanobject
5730ms 7.80% 30.99% 12180ms 16.57% math/big.nat.divLarge
3760ms 5.12% 36.11% 3890ms 5.29% syscall.Syscall
2650ms 3.61% 39.71% 2650ms 3.61% runtime.markBits.isMarked
1700ms 2.31% 42.03% 1700ms 2.31% math/big.addMulVVW
1380ms 1.88% 43.90% 1380ms 1.88% runtime.memclrNoHeapPointers
1220ms 1.66% 45.56% 23690ms 32.23% runtime.mallocgc
1180ms 1.61% 47.17% 1180ms 1.61% math/big.subVV
990ms 1.35% 48.52% 990ms 1.35% math/big.mulAddVWW
(pprof)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment