Last active
August 29, 2015 14:18
-
-
Save bfallik/fe945d6d9b56f11dfa77 to your computer and use it in GitHub Desktop.
blog pointer gctrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ GODEBUG=gctrace=1 go test -bench=Pointer_1e6 blog | |
gc1(1): 0+0+121+0 us, 0 -> 0 MB, 21 (21-0) objects, 2 goroutines, 16/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc2(1): 0+0+68+0 us, 0 -> 0 MB, 43 (44-1) objects, 3 goroutines, 20/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc3(1): 0+0+70+0 us, 0 -> 0 MB, 120 (140-20) objects, 4 goroutines, 28/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc4(1): 0+0+92+0 us, 0 -> 0 MB, 220 (271-51) objects, 4 goroutines, 33/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc5(1): 0+0+108+0 us, 0 -> 0 MB, 441 (545-104) objects, 5 goroutines, 38/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc6(1): 0+0+138+0 us, 0 -> 0 MB, 625 (945-320) objects, 5 goroutines, 46/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc7(1): 0+0+200+0 us, 0 -> 0 MB, 1981 (2804-823) objects, 6 goroutines, 60/4/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc8(1): 0+0+268+0 us, 0 -> 0 MB, 2973 (4836-1863) objects, 6 goroutines, 71/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc9(1): 0+0+253+0 us, 0 -> 0 MB, 4314 (7105-2791) objects, 6 goroutines, 93/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc10(1): 0+0+255+0 us, 0 -> 0 MB, 4292 (9007-4715) objects, 6 goroutines, 108/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc11(1): 0+0+271+0 us, 0 -> 0 MB, 4648 (11192-6544) objects, 6 goroutines, 113/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc12(1): 0+0+272+0 us, 0 -> 0 MB, 5118 (13787-8669) objects, 6 goroutines, 118/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc13(1): 0+2+266+0 us, 0 -> 0 MB, 4937 (16857-11920) objects, 5 goroutines, 120/1/5 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc14(1): 0+3+271+0 us, 0 -> 0 MB, 4884 (19679-14795) objects, 5 goroutines, 120/0/4 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc15(1): 0+0+301+0 us, 0 -> 0 MB, 4324 (21725-17401) objects, 5 goroutines, 120/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc16(1): 0+0+302+0 us, 0 -> 0 MB, 5766 (24719-18953) objects, 5 goroutines, 123/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc17(1): 0+0+339+0 us, 0 -> 0 MB, 6006 (27880-21874) objects, 5 goroutines, 126/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc18(1): 0+0+331+0 us, 0 -> 0 MB, 6279 (31398-25119) objects, 5 goroutines, 127/0/1 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc19(1): 0+0+325+0 us, 0 -> 0 MB, 6933 (34918-27985) objects, 5 goroutines, 136/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc20(1): 0+0+418+0 us, 0 -> 0 MB, 7186 (38806-31620) objects, 5 goroutines, 138/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc21(1): 1+0+402+0 us, 0 -> 0 MB, 7659 (42910-35251) objects, 5 goroutines, 142/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc1(1): 0+0+74+0 us, 0 -> 0 MB, 21 (21-0) objects, 2 goroutines, 16/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc2(1): 0+0+89+0 us, 0 -> 0 MB, 54 (55-1) objects, 3 goroutines, 20/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
testing: warning: no tests to run | |
PASS | |
Benchmark_Pointer_1e6 gc3(1): 0+0+119+0 us, 0 -> 0 MB, 206 (242-36) objects, 5 goroutines, 28/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc4(1): 1+0+106567+1 us, 0 -> 106 MB, 147 (243-96) objects, 5 goroutines, 29/0/22 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc5(1): 1+0+252710+1 us, 106 -> 264 MB, 906929 (907025-96) objects, 5 goroutines, 2833/1/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc6(1): 0+684+54717+0 us, 222 -> 225 MB, 1031902 (1059372-27470) objects, 5 goroutines, 2843/5/1670 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
gc7(1): 2+1+219959+1 us, 106 -> 264 MB, 906889 (1966114-1059225) objects, 5 goroutines, 2843/0/2133 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields | |
2 506741500 ns/op | |
ok blog 1.928s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment