go 寰楀埌绋嬪簭杩愯鐨勫瀮鍦炬敹闆嗗櫒鏇村缁嗚妭

niro@IT056:/mnt/f/go learn example$ GODEBUG=gctrace=1 go run men.go
gc 1 @0.116s 0%: 0.015+0.66+0.10 ms clock, 0.091+0/0.27/0.59+0.61 ms cpu, 4->4->0 MB, 5 MB goal, 6 P
gc 2 @0.128s 0%: 0.007+0.54+0.13 ms clock, 0.042+0.29/0.39/0.67+0.83 ms cpu, 4->4->0 MB, 5 MB goal, 6 P
gc 3 @0.138s 0%: 0.53+0.94+0.13 ms clock, 3.2+0.27/0.63/0.16+0.81 ms cpu, 4->4->0 MB, 5 MB goal, 6 P
gc 4 @0.149s 1%: 0.047+0.43+0.21 ms clock, 0.28+0.20/0.40/0.54+1.3 ms cpu, 4->4->1 MB, 5 MB goal, 6 P
gc 5 @0.153s 1%: 0.005+0.50+0.19 ms clock, 0.032+0.11/0.36/0.89+1.1 ms cpu, 4->4->1 MB, 5 MB goal, 6 P
gc 6 @0.157s 1%: 0.11+0.56+0.17 ms clock, 0.70+0.23/0.34/0.54+1.0 ms cpu, 4->4->1 MB, 5 MB goal, 6 P
# command-line-arguments
gc 1 @0.003s 10%: 0.008+3.0+0.16 ms clock, 0.050+0.21/3.2/4.3+0.96 ms cpu, 4->5->4 MB, 5 MB goal, 6 P
gc 2 @0.013s 9%: 0.005+3.3+0.33 ms clock, 0.032+0.062/3.0/0.28+1.9 ms cpu, 7->8->8 MB, 9 MB goal, 6 P
gc 3 @0.030s 7%: 0.010+4.2+0.13 ms clock, 0.064+0.16/4.7/2.0+0.78 ms cpu, 14->15->13 MB, 16 MB goal, 6 P
gc 4 @0.060s 6%: 0.005+13+0.14 ms clock, 0.033+0.060/13/0.16+0.89 ms cpu, 25->26->24 MB, 27 MB goal, 6 P
gc 1 @0.002s 3%: 0.006+0.21+0.099 ms clock, 0.036+0/0.016/0.10+0.59 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 90192
mem.HeapAlloc 90192
mem.HeapIdle 100384768
gc 2 @0.029s 0%: 0.004+0.15+0.12 ms clock, 0.027+0/0.056/0.035+0.74 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 92048
mem.HeapAlloc 92048
mem.HeapIdle 100352000
gc 3 @0.037s 1%: 0.006+0.19+0.12 ms clock, 0.039+0/0.073/0.019+0.74 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 93904
mem.HeapAlloc 93904
mem.HeapIdle 100286464
gc 4 @0.049s 1%: 0.005+0.20+0.13 ms clock, 0.030+0/0.082/0.035+0.82 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 95696
mem.HeapAlloc 95696
mem.HeapIdle 100253696
gc 5 @0.060s 1%: 0.006+0.16+0.10 ms clock, 0.040+0/0.040/0.063+0.64 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928
gc 6 @0.069s 1%: 0.006+0.26+0.17 ms clock, 0.036+0/0.13/0.10+1.0 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928
gc 7 @0.078s 1%: 0.006+0.17+0.12 ms clock, 0.038+0/0.065/0.034+0.73 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928
gc 8 @0.088s 1%: 0.005+0.19+0.13 ms clock, 0.033+0/0.10/0+0.82 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928
gc 9 @0.097s 1%: 0.006+0.18+0.13 ms clock, 0.039+0/0.074/0.029+0.79 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928
gc 10 @0.107s 1%: 0.006+0.20+0.20 ms clock, 0.039+0/0.16/0.058+1.2 ms cpu, 95->95->0 MB, 96 MB goal, 6 P
mem.Alloc 97488
mem.HeapAlloc 97488
mem.HeapIdle 100220928

All posts

Other pages

鍙戣〃璇勮

閭鍦板潃涓嶄細琚叕寮銆 蹇呭~椤瑰凡鐢*鏍囨敞