From 4f288eba7299ce744bb638cdb34aadf767b5d3cf Mon Sep 17 00:00:00 2001 From: kpango Date: Fri, 27 Jul 2018 16:23:37 +0900 Subject: [PATCH] fix --- bench/cpu-def.svg | 2221 ---------------------------------- bench/cpu-gache.svg | 2147 --------------------------------- bench/cpu.svg | 2747 ------------------------------------------- bench/mem-def.svg | 311 ----- bench/mem-gache.svg | 491 -------- bench/mem.svg | 311 ----- 6 files changed, 8228 deletions(-) delete mode 100644 bench/cpu-def.svg delete mode 100644 bench/cpu-gache.svg delete mode 100644 bench/cpu.svg delete mode 100644 bench/mem-def.svg delete mode 100644 bench/mem-gache.svg delete mode 100644 bench/mem.svg diff --git a/bench/cpu-def.svg b/bench/cpu-def.svg deleted file mode 100644 index 4a4fdce..0000000 --- a/bench/cpu-def.svg +++ /dev/null @@ -1,2221 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: cpu -Time: May 2, 2018 at 7:38pm (JST) -Duration: 13.11s, Total samples = 15.86s (120.96%) -Showing nodes accounting for 15.16s, 95.59% of 15.86s total -Dropped 67 nodes (cum <= 0.08s) - - - - - -N1 - - -github -com/kpango/gache -BenchmarkMap -func1 -0.44s (2.77%) -of 14.61s (92.12%) - - - - - -N2 - - -github -com/kpango/gache -(*DefaultMap) -Set -0.26s (1.64%) -of 6.55s (41.30%) - - - - - -N1->N2 - - - - - - - 6.55s - - - - - -N4 - - -github -com/kpango/gache -(*DefaultMap) -Get -0.23s (1.45%) -of 4.04s (25.47%) - - - - - -N1->N4 - - - - - - - 4.04s - - - - - -N6 - - -runtime -efaceeq -0.47s (2.96%) -of 1.23s (7.76%) - - - - - -N1->N6 - - - - - - - 0.76s - - - - - -N15 - - -runtime -mapiternext -0.79s (4.98%) -of 0.81s (5.11%) - - - - - -N1->N15 - - - - - - - 0.47s - - - - - -N22 - - -runtime -convT2Estring -0.17s (1.07%) -of 1.85s (11.66%) - - - - - -N1->N22 - - - - - - - 1.85s - - - - - -N35 - - -runtime -mapiterinit -0.16s (1.01%) -of 0.50s (3.15%) - - - - - -N1->N35 - - - - - - - 0.50s - - - - - -N7 - - -runtime -deferreturn -0.71s (4.48%) -of 1.34s (8.45%) - - - - - -N2->N7 - - - - - - - 0.69s - - - - - -N9 - - -runtime -mapassign -0.63s (3.97%) -of 1.49s (9.39%) - - - - - -N2->N9 - - - - - - - 1.49s - - - - - -N12 - - -sync -(*RWMutex) -Lock -0.43s (2.71%) -of 2.73s (17.21%) - - - - - -N2->N12 - - - - - - - 2.73s - - - - - -N13 - - -runtime -deferproc -0.29s (1.83%) -of 1.05s (6.62%) - - - - - -N2->N13 - - - - - - - 0.50s - - - - - -N19 - - -sync -(*RWMutex) -Unlock -0.34s (2.14%) -of 0.80s (5.04%) - - - - - -N2->N19 - - - - - - - 0.80s - - - - - -N27 - - -runtime -jmpdefer -0.22s (1.39%) - - - - - -N2->N27 - - - - - - - 0.08s - - - - - -N3 - - -testing -(*B) -RunParallel -func1 -0 of 14.61s (92.12%) - - - - - -N3->N1 - - - - - - - 14.61s - - - - - -N4->N7 - - - - - - - 0.65s - - - - - -N11 - - -runtime -mapaccess2 -0.68s (4.29%) -of 1.58s (9.96%) - - - - - -N4->N11 - - - - - - - 1.58s - - - - - -N4->N13 - - - - - - - 0.55s - - - - - -N23 - - -sync -(*RWMutex) -RUnlock -0.35s (2.21%) -of 0.62s (3.91%) - - - - - -N4->N23 - - - - - - - 0.62s - - - - - -N4->N27 - - - - - - - 0.07s - - - - - -N29 - - -sync -(*RWMutex) -RLock -0.34s (2.14%) - - - - - -N4->N29 - - - - - - - 0.34s - - - - - -N5 - - -runtime -procyield -1.52s (9.58%) - - - - - -N26 - - -runtime -strequal -0.37s (2.33%) -of 0.44s (2.77%) - - - - - -N6->N26 - - - - - - - 0.44s - - - - - -N42 - - -runtime -f64equal -0.16s (1.01%) - - - - - -N6->N42 - - - - - - - 0.16s - - - - - -N45 - - -runtime -memequal64 -0.10s (0.63%) - - - - - -N6->N45 - - - - - - - 0.10s - - - - - -N7->N27 - - - - - - - 0.07s - - - - - -N36 - - -runtime -freedefer -0.54s (3.40%) -of 0.55s (3.47%) - - - - - -N7->N36 - - - - - - - 0.55s - - - - - -N8 - - -sync -(*Mutex) -Lock -0.87s (5.49%) -of 2.23s (14.06%) - - - - - -N67 - - -sync -runtime_SemacquireMutex -0 of 0.09s (0.57%) - - - - - -N8->N67 - - - - - - - 0.09s - - - - - -N68 - - -sync -runtime_doSpin -0 of 1.26s (7.94%) - - - - - -N8->N68 - - - - - - - 1.26s - - - - - -N14 - - -runtime -nilinterhash -0.34s (2.14%) -of 0.85s (5.36%) - - - - - -N9->N14 - - - - - - - 0.28s - - - - - -N18 - - -runtime -nilinterequal -0.16s (1.01%) -of 0.63s (3.97%) - - - - - -N9->N18 - - - - - - - 0.30s - - - - - -N40 - - -runtime -typedmemmove -0.11s (0.69%) -of 0.28s (1.77%) - - - - - -N9->N40 - - - - - - - 0.28s - - - - - -N10 - - -runtime -mallocgc -1.18s (7.44%) -of 1.68s (10.59%) - - - - - -N33 - - -runtime -heapBitsSetType -0.31s (1.95%) - - - - - -N10->N33 - - - - - - - 0.31s - - - - - -N57 - - -runtime -gcAssistAlloc -0 of 0.08s (0.5%) - - - - - -N10->N57 - - - - - - - 0.08s - - - - - -N11->N14 - - - - - - - 0.57s - - - - - -N11->N18 - - - - - - - 0.33s - - - - - -N12->N8 - - - - - - - 2.23s - - - - - -N24 - - -runtime -newdefer -0.67s (4.22%) -of 0.72s (4.54%) - - - - - -N13->N24 - - - - - - - 0.72s - - - - - -N39 - - -runtime -gcWriteBarrier -0.04s (0.25%) -of 0.12s (0.76%) - - - - - -N13->N39 - - - - - - - 0.03s - - - - - -N25 - - -runtime -aeshashbody -0.43s (2.71%) - - - - - -N14->N25 - - - - - - - 0.43s - - - - - -N46 - - -runtime -aeshashstr -0.08s (0.5%) - - - - - -N14->N46 - - - - - - - 0.08s - - - - - -N15->N39 - - - - - - - 0.02s - - - - - -N16 - - -runtime -findrunnable -0.15s (0.95%) -of 0.94s (5.93%) - - - - - -N31 - - -runtime -lock -0.07s (0.44%) -of 0.33s (2.08%) - - - - - -N16->N31 - - - - - - - 0.03s - - - - - -N51 - - -runtime -runqsteal -0.01s (0.063%) -of 0.48s (3.03%) - - - - - -N16->N51 - - - - - - - 0.48s - - - - - -N52 - - -runtime -stopm -0.01s (0.063%) -of 0.26s (1.64%) - - - - - -N16->N52 - - - - - - - 0.26s - - - - - -N17 - - -runtime -systemstack -0.01s (0.063%) -of 0.37s (2.33%) - - - - - -N50 - - -runtime -wbBufFlush -func1 -0.01s (0.063%) -of 0.08s (0.5%) - - - - - -N17->N50 - - - - - - - 0.08s - - - - - -N58 - - -runtime -gcAssistAlloc -func1 -0 of 0.08s (0.5%) - - - - - -N17->N58 - - - - - - - 0.08s - - - - - -N62 - - -runtime -goready -func1 -0 of 0.08s (0.5%) - - - - - -N17->N62 - - - - - - - 0.08s - - - - - -N18->N6 - - - - - - - 0.47s - - - - - -N30 - - -sync -(*Mutex) -Unlock -0.31s (1.95%) -of 0.43s (2.71%) - - - - - -N19->N30 - - - - - - - 0.43s - - - - - -N37 - - -sync -runtime_Semrelease -0 of 0.42s (2.65%) - - - - - -N19->N37 - - - - - - - 0.03s - - - - - -N20 - - -runtime -mcall -0 of 1.16s (7.31%) - - - - - -N64 - - -runtime -park_m -0 of 1.13s (7.12%) - - - - - -N20->N64 - - - - - - - 1.13s - - - - - -N21 - - -runtime -futex -0.37s (2.33%) - - - - - -N22->N10 - - - - - - - 1.68s - - - - - -N23->N37 - - - - - - - 0.27s - - - - - -N24->N39 - - - - - - - 0.05s - - - - - -N28 - - -runtime -usleep -0.38s (2.40%) - - - - - -N30->N37 - - - - - - - 0.12s - - - - - -N31->N5 - - - - - - - 0.26s - - - - - -N32 - - -runtime -semrelease1 -0.07s (0.44%) -of 0.42s (2.65%) - - - - - -N32->N31 - - - - - - - 0.25s - - - - - -N65 - - -runtime -readyWithTime -0 of 0.08s (0.5%) - - - - - -N32->N65 - - - - - - - 0.08s - - - - - -N34 - - -runtime -schedule -0 of 1.10s (6.94%) - - - - - -N34->N16 - - - - - - - 0.94s - - - - - -N54 - - -runtime -resetspinning -0.01s (0.063%) -of 0.11s (0.69%) - - - - - -N34->N54 - - - - - - - 0.11s - - - - - -N35->N15 - - - - - - - 0.34s - - - - - -N37->N32 - - - - - - - 0.42s - - - - - -N38 - - -runtime -runqgrab -0.09s (0.57%) -of 0.47s (2.96%) - - - - - -N38->N28 - - - - - - - 0.38s - - - - - -N66 - - -runtime -wbBufFlush -0 of 0.08s (0.5%) - - - - - -N39->N66 - - - - - - - 0.08s - - - - - -N43 - - -runtime -memmove -0.13s (0.82%) - - - - - -N40->N43 - - - - - - - 0.13s - - - - - -N41 - - -runtime -semacquire1 -0.03s (0.19%) -of 0.16s (1.01%) - - - - - -N41->N31 - - - - - - - 0.05s - - - - - -N44 - - -runtime -scanobject -0.06s (0.38%) -of 0.10s (0.63%) - - - - - -N47 - - -runtime -wakep -0 of 0.15s (0.95%) - - - - - -N53 - - -runtime -startm -0.01s (0.063%) -of 0.15s (0.95%) - - - - - -N47->N53 - - - - - - - 0.15s - - - - - -N48 - - -runtime -notesleep -0.02s (0.13%) -of 0.25s (1.58%) - - - - - -N55 - - -runtime -futexsleep -0 of 0.23s (1.45%) - - - - - -N48->N55 - - - - - - - 0.23s - - - - - -N49 - - -runtime -ready -0.03s (0.19%) -of 0.08s (0.5%) - - - - - -N49->N47 - - - - - - - 0.05s - - - - - -N51->N38 - - - - - - - 0.47s - - - - - -N52->N48 - - - - - - - 0.25s - - - - - -N63 - - -runtime -notewakeup -0 of 0.14s (0.88%) - - - - - -N53->N63 - - - - - - - 0.14s - - - - - -N54->N47 - - - - - - - 0.10s - - - - - -N55->N21 - - - - - - - 0.23s - - - - - -N56 - - -runtime -futexwakeup -0 of 0.14s (0.88%) - - - - - -N56->N21 - - - - - - - 0.14s - - - - - -N57->N17 - - - - - - - 0.08s - - - - - -N59 - - -runtime -gcAssistAlloc1 -0 of 0.08s (0.5%) - - - - - -N58->N59 - - - - - - - 0.08s - - - - - -N60 - - -runtime -gcDrainN -0 of 0.08s (0.5%) - - - - - -N59->N60 - - - - - - - 0.08s - - - - - -N60->N44 - - - - - - - 0.06s - - - - - -N61 - - -runtime -goready -0 of 0.08s (0.5%) - - - - - -N61->N17 - - - - - - - 0.08s - - - - - -N62->N49 - - - - - - - 0.08s - - - - - -N63->N56 - - - - - - - 0.14s - - - - - -N64->N34 - - - - - - - 1.09s - - - - - -N65->N61 - - - - - - - 0.08s - - - - - -N66->N17 - - - - - - - 0.08s - - - - - -N67->N41 - - - - - - - 0.09s - - - - - -N68->N5 - - - - - - - 1.26s - - - - - diff --git a/bench/cpu-gache.svg b/bench/cpu-gache.svg deleted file mode 100644 index 90af0fc..0000000 --- a/bench/cpu-gache.svg +++ /dev/null @@ -1,2147 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: cpu -Time: May 2, 2018 at 7:38pm (JST) -Duration: 25.50s, Total samples = 72.34s (283.66%) -Showing nodes accounting for 68.77s, 95.06% of 72.34s total -Dropped 128 nodes (cum <= 0.36s) - - - - - -N1 - - -github -com/kpango/gache -BenchmarkGache -func1 -1.13s (1.56%) -of 60.24s (83.27%) - - - - - -N12 - - -runtime -efaceeq -1.88s (2.60%) -of 4.14s (5.72%) - - - - - -N1->N12 - - - - - - - 2.21s - - - - - -N14 - - -runtime -mapiternext -2.74s (3.79%) -of 3.38s (4.67%) - - - - - -N1->N14 - - - - - - - 2.22s - - - - - -N19 - - -github -com/kpango/gache -Set -0.63s (0.87%) -of 36.84s (50.93%) - - - - - -N1->N19 - - - - - - - 36.84s - - - - - -N21 - - -runtime -convT2Estring -0.79s (1.09%) -of 6.90s (9.54%) - - - - - -N1->N21 - - - - - - - 6.90s - - - - - -N30 - - -runtime -mapiterinit -0.51s (0.71%) -of 1.85s (2.56%) - - - - - -N1->N30 - - - - - - - 1.85s - - - - - -N36 - - -github -com/kpango/gache -Get -0.23s (0.32%) -of 9.08s (12.55%) - - - - - -N1->N36 - - - - - - - 9.08s - - - - - -N2 - - -runtime -mallocgc -14.39s (19.89%) -of 21.44s (29.64%) - - - - - -N15 - - -runtime -heapBitsSetType -3.78s (5.23%) - - - - - -N2->N15 - - - - - - - 3.78s - - - - - -N37 - - -runtime -memclrNoHeapPointers -0.53s (0.73%) - - - - - -N2->N37 - - - - - - - 0.24s - - - - - -N42 - - -runtime -gcmarknewobject -0.40s (0.55%) -of 0.98s (1.35%) - - - - - -N2->N42 - - - - - - - 0.98s - - - - - -N50 - - -runtime -(*mcache) -nextFree -0.06s (0.083%) -of 1.13s (1.56%) - - - - - -N2->N50 - - - - - - - 1.13s - - - - - -N58 - - -runtime -gcAssistAlloc -0.01s (0.014%) -of 0.68s (0.94%) - - - - - -N2->N58 - - - - - - - 0.68s - - - - - -N3 - - -github -com/kpango/gache -(*Gache) -set -1.78s (2.46%) -of 36.21s (50.06%) - - - - - -N5 - - -sync -(*Map) -Store -1.78s (2.46%) -of 19.88s (27.48%) - - - - - -N3->N5 - - - - - - - 19.88s - - - - - -N8 - - -runtime -newobject -1.39s (1.92%) -of 16.82s (23.25%) - - - - - -N3->N8 - - - - - - - 11.13s - - - - - -N16 - - -time -Now -0.81s (1.12%) -of 3.15s (4.35%) - - - - - -N3->N16 - - - - - - - 1.57s - - - - - -N22 - - -runtime -gcWriteBarrier -0.39s (0.54%) -of 1.61s (2.23%) - - - - - -N3->N22 - - - - - - - 0.41s - - - - - -N33 - - -time -Time -Add -1s (1.38%) -of 1.44s (1.99%) - - - - - -N3->N33 - - - - - - - 1.44s - - - - - -N4 - - -testing -(*B) -RunParallel -func1 -0 of 60.24s (83.27%) - - - - - -N4->N1 - - - - - - - 60.24s - - - - - -N6 - - -runtime -mapaccess2 -4.45s (6.15%) -of 10.40s (14.38%) - - - - - -N5->N6 - - - - - - - 6s - - - - - -N5->N8 - - - - - - - 5.69s - - - - - -N13 - - -sync -(*entry) -tryStore -2.44s (3.37%) -of 6.15s (8.50%) - - - - - -N5->N13 - - - - - - - 6.15s - - - - - -N5->N22 - - - - - - - 0.26s - - - - - -N24 - - -runtime -nilinterhash -1.11s (1.53%) -of 3.22s (4.45%) - - - - - -N6->N24 - - - - - - - 3.22s - - - - - -N29 - - -runtime -nilinterequal -0.80s (1.11%) -of 2.73s (3.77%) - - - - - -N6->N29 - - - - - - - 2.73s - - - - - -N7 - - -runtime -systemstack -0.26s (0.36%) -of 5.37s (7.42%) - - - - - -N47 - - -runtime -wbBufFlush -func1 -0.09s (0.12%) -of 1.14s (1.58%) - - - - - -N7->N47 - - - - - - - 1.13s - - - - - -N56 - - -runtime -writebarrierptr_prewrite1 -func1 -0.02s (0.028%) -of 0.57s (0.79%) - - - - - -N7->N56 - - - - - - - 0.57s - - - - - -N57 - - -runtime -gcBgMarkWorker -func2 -0.01s (0.014%) -of 1.42s (1.96%) - - - - - -N7->N57 - - - - - - - 1.42s - - - - - -N59 - - -runtime -(*mcache) -nextFree -func1 -0 of 0.96s (1.33%) - - - - - -N7->N59 - - - - - - - 0.96s - - - - - -N61 - - -runtime -gcAssistAlloc -func1 -0 of 0.64s (0.88%) - - - - - -N7->N61 - - - - - - - 0.64s - - - - - -N8->N2 - - - - - - - 15.43s - - - - - -N9 - - -runtime -_System -0 of 10.06s (13.91%) - - - - - -N9->N7 - - - - - - - 0.26s - - - - - -N10 - - -runtime -_ExternalCode -8.66s (11.97%) - - - - - -N9->N10 - - - - - - - 8.66s - - - - - -N20 - - -runtime -walltime -1.72s (2.38%) - - - - - -N9->N20 - - - - - - - 0.81s - - - - - -N34 - - -runtime -nanotime -0.73s (1.01%) - - - - - -N9->N34 - - - - - - - 0.33s - - - - - -N11 - - -github -com/kpango/gache -(*Gache) -get -0.71s (0.98%) -of 8.85s (12.23%) - - - - - -N17 - - -sync -(*Map) -Load -1.55s (2.14%) -of 5.95s (8.23%) - - - - - -N11->N17 - - - - - - - 5.95s - - - - - -N32 - - -github -com/kpango/gache -value -isValid -0.61s (0.84%) -of 2.19s (3.03%) - - - - - -N11->N32 - - - - - - - 2.19s - - - - - -N31 - - -runtime -strequal -1.18s (1.63%) -of 1.41s (1.95%) - - - - - -N12->N31 - - - - - - - 1.41s - - - - - -N26 - - -sync/atomic -CompareAndSwapPointer -0.23s (0.32%) -of 3.71s (5.13%) - - - - - -N13->N26 - - - - - - - 3.71s - - - - - -N14->N22 - - - - - - - 0.64s - - - - - -N23 - - -time -now -1.03s (1.42%) -of 2.34s (3.23%) - - - - - -N16->N23 - - - - - - - 2.34s - - - - - -N17->N6 - - - - - - - 4.40s - - - - - -N18 - - -sync/atomic -CompareAndSwapUint64 -2.72s (3.76%) - - - - - -N19->N3 - - - - - - - 36.21s - - - - - -N21->N2 - - - - - - - 6s - - - - - -N21->N22 - - - - - - - 0.11s - - - - - -N49 - - -runtime -wbBufFlush -0.08s (0.11%) -of 1.22s (1.69%) - - - - - -N22->N49 - - - - - - - 1.22s - - - - - -N23->N20 - - - - - - - 0.91s - - - - - -N23->N34 - - - - - - - 0.40s - - - - - -N27 - - -runtime -aeshashbody -1.89s (2.61%) - - - - - -N24->N27 - - - - - - - 1.89s - - - - - -N25 - - -runtime -scanobject -1.03s (1.42%) -of 1.50s (2.07%) - - - - - -N28 - - -runtime -heapBitsForObject -0.91s (1.26%) - - - - - -N25->N28 - - - - - - - 0.18s - - - - - -N40 - - -runtime -greyobject -0.46s (0.64%) - - - - - -N25->N40 - - - - - - - 0.29s - - - - - -N26->N18 - - - - - - - 2.72s - - - - - -N48 - - -runtime -writebarrierptr_prewrite -0.12s (0.17%) -of 0.75s (1.04%) - - - - - -N26->N48 - - - - - - - 0.75s - - - - - -N29->N12 - - - - - - - 1.93s - - - - - -N30->N14 - - - - - - - 1.16s - - - - - -N30->N22 - - - - - - - 0.18s - - - - - -N32->N16 - - - - - - - 1.58s - - - - - -N44 - - -time -(*Time) -addSec -0.44s (0.61%) - - - - - -N33->N44 - - - - - - - 0.44s - - - - - -N35 - - -runtime -wbBufFlush1 -0.40s (0.55%) -of 1.07s (1.48%) - - - - - -N35->N28 - - - - - - - 0.43s - - - - - -N41 - - -runtime -(*gcWork) -dispose -0.47s (0.65%) -of 0.48s (0.66%) - - - - - -N35->N41 - - - - - - - 0.08s - - - - - -N36->N11 - - - - - - - 8.85s - - - - - -N38 - - -runtime -gcBgMarkWorker -0 of 1.58s (2.18%) - - - - - -N38->N7 - - - - - - - 1.56s - - - - - -N39 - - -runtime -gcDrain -0.09s (0.12%) -of 1.45s (2.00%) - - - - - -N39->N25 - - - - - - - 1.06s - - - - - -N46 - - -runtime -markroot -0 of 0.37s (0.51%) - - - - - -N39->N46 - - - - - - - 0.25s - - - - - -N42->N41 - - - - - - - 0.38s - - - - - -N43 - - -runtime -shade -0.11s (0.15%) -of 0.51s (0.71%) - - - - - -N43->N28 - - - - - - - 0.26s - - - - - -N43->N40 - - - - - - - 0.13s - - - - - -N45 - - -runtime -gcDrainN -0.04s (0.055%) -of 0.64s (0.88%) - - - - - -N45->N25 - - - - - - - 0.44s - - - - - -N45->N46 - - - - - - - 0.12s - - - - - -N47->N35 - - - - - - - 1.05s - - - - - -N52 - - -runtime -writebarrierptr_prewrite1 -0.06s (0.083%) -of 0.63s (0.87%) - - - - - -N48->N52 - - - - - - - 0.63s - - - - - -N49->N7 - - - - - - - 1.13s - - - - - -N50->N7 - - - - - - - 0.96s - - - - - -N51 - - -runtime -(*mcentral) -cacheSpan -0.04s (0.055%) -of 0.96s (1.33%) - - - - - -N53 - - -runtime -(*mcentral) -grow -0.02s (0.028%) -of 0.58s (0.8%) - - - - - -N51->N53 - - - - - - - 0.58s - - - - - -N52->N7 - - - - - - - 0.57s - - - - - -N55 - - -runtime -(*mheap) -alloc -0.02s (0.028%) -of 0.52s (0.72%) - - - - - -N53->N55 - - - - - - - 0.52s - - - - - -N54 - - -runtime -gcmarkwb_m -0.04s (0.055%) -of 0.55s (0.76%) - - - - - -N54->N43 - - - - - - - 0.51s - - - - - -N55->N37 - - - - - - - 0.27s - - - - - -N56->N54 - - - - - - - 0.55s - - - - - -N57->N39 - - - - - - - 1.41s - - - - - -N58->N7 - - - - - - - 0.67s - - - - - -N60 - - -runtime -(*mcache) -refill -0 of 0.96s (1.33%) - - - - - -N59->N60 - - - - - - - 0.96s - - - - - -N60->N51 - - - - - - - 0.96s - - - - - -N62 - - -runtime -gcAssistAlloc1 -0 of 0.64s (0.88%) - - - - - -N61->N62 - - - - - - - 0.64s - - - - - -N62->N45 - - - - - - - 0.64s - - - - - diff --git a/bench/cpu.svg b/bench/cpu.svg deleted file mode 100644 index 3dc1fb1..0000000 --- a/bench/cpu.svg +++ /dev/null @@ -1,2747 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: cpu -Time: May 2, 2018 at 7:37pm (JST) -Duration: 37.47s, Total samples = 85.10s (227.14%) -Showing nodes accounting for 80.22s, 94.27% of 85.10s total -Dropped 132 nodes (cum <= 0.43s) -Dropped 27 edges (freq <= 0.09s) -Showing top 80 nodes out of 89 - - - - - -N1 - - -testing -(*B) -RunParallel -func1 -0 of 71.62s (84.16%) - - - - - -N2 - - -github -com/kpango/gache -BenchmarkGache -func1 -1.20s (1.41%) -of 57.41s (67.46%) - - - - - -N1->N2 - - - - - - - 57.41s - - - - - -N8 - - -github -com/kpango/gache -BenchmarkMap -func1 -0.37s (0.43%) -of 14.21s (16.70%) - - - - - -N1->N8 - - - - - - - 14.21s - - - - - -N10 - - -runtime -efaceeq -2.34s (2.75%) -of 5.55s (6.52%) - - - - - -N2->N10 - - - - - - - 2.14s - - - - - -N14 - - -runtime -mapiternext -3.16s (3.71%) -of 3.96s (4.65%) - - - - - -N2->N14 - - - - - - - 2.16s - - - - - -N16 - - -runtime -convT2Estring -0.83s (0.98%) -of 7.54s (8.86%) - - - - - -N2->N16 - - - - - - - 6.33s - - - - - -N28 - - -github -com/kpango/gache -Set -0.50s (0.59%) -of 35.07s (41.21%) - - - - - -N2->N28 - - - - - - - 35.07s - - - - - -N33 - - -runtime -mapiterinit -0.41s (0.48%) -of 1.82s (2.14%) - - - - - -N2->N33 - - - - - - - 1.49s - - - - - -N46 - - -github -com/kpango/gache -Get -0.25s (0.29%) -of 9s (10.58%) - - - - - -N2->N46 - - - - - - - 9s - - - - - -N3 - - -runtime -mallocgc -14.55s (17.10%) -of 21.47s (25.23%) - - - - - -N19 - - -runtime -heapBitsSetType -3.44s (4.04%) - - - - - -N3->N19 - - - - - - - 3.44s - - - - - -N45 - - -runtime -memclrNoHeapPointers -0.65s (0.76%) - - - - - -N3->N45 - - - - - - - 0.26s - - - - - -N52 - - -runtime -gcmarknewobject -0.39s (0.46%) -of 0.99s (1.16%) - - - - - -N3->N52 - - - - - - - 0.99s - - - - - -N76 - - -runtime -(*mcache) -nextFree -0.03s (0.035%) -of 1.26s (1.48%) - - - - - -N3->N76 - - - - - - - 1.26s - - - - - -N79 - - -runtime -gcAssistAlloc -0.01s (0.012%) -of 0.74s (0.87%) - - - - - -N3->N79 - - - - - - - 0.74s - - - - - -N4 - - -github -com/kpango/gache -(*Gache) -set -1.87s (2.20%) -of 34.57s (40.62%) - - - - - -N6 - - -sync -(*Map) -Store -1.67s (1.96%) -of 18.38s (21.60%) - - - - - -N4->N6 - - - - - - - 18.38s - - - - - -N9 - - -runtime -newobject -1.57s (1.84%) -of 16.43s (19.31%) - - - - - -N4->N9 - - - - - - - 11.29s - - - - - -N22 - - -time -Now -0.72s (0.85%) -of 3.03s (3.56%) - - - - - -N4->N22 - - - - - - - 1.48s - - - - - -N24 - - -runtime -gcWriteBarrier -0.34s (0.4%) -of 1.54s (1.81%) - - - - - -N4->N24 - - - - - - - 0.28s - - - - - -N42 - - -time -Time -Add -0.93s (1.09%) -of 1.27s (1.49%) - - - - - -N4->N42 - - - - - - - 1.27s - - - - - -N5 - - -runtime -mapaccess2 -5.36s (6.30%) -of 11.74s (13.80%) - - - - - -N21 - - -runtime -nilinterhash -1.43s (1.68%) -of 3.68s (4.32%) - - - - - -N5->N21 - - - - - - - 3.37s - - - - - -N23 - - -runtime -nilinterequal -0.74s (0.87%) -of 3.37s (3.96%) - - - - - -N5->N23 - - - - - - - 3.01s - - - - - -N6->N5 - - - - - - - 6.10s - - - - - -N6->N9 - - - - - - - 5.14s - - - - - -N18 - - -sync -(*entry) -tryStore -2.19s (2.57%) -of 5.35s (6.29%) - - - - - -N6->N18 - - - - - - - 5.35s - - - - - -N6->N24 - - - - - - - 0.12s - - - - - -N7 - - -runtime -systemstack -0.26s (0.31%) -of 5.72s (6.72%) - - - - - -N44 - - -runtime -futex -0.57s (0.67%) - - - - - -N7->N44 - - - - - - - 0.21s - - - - - -N56 - - -runtime -(*mcentral) -cacheSpan -0.04s (0.047%) -of 1.05s (1.23%) - - - - - -N7->N56 - - - - - - - 1.05s - - - - - -N68 - - -runtime -wbBufFlush -func1 -0.08s (0.094%) -of 1.16s (1.36%) - - - - - -N7->N68 - - - - - - - 1.15s - - - - - -N69 - - -runtime -gcDrain -0.05s (0.059%) -of 1.32s (1.55%) - - - - - -N7->N69 - - - - - - - 1.32s - - - - - -N72 - - -runtime -gosweepone -func1 -0.01s (0.012%) -of 0.44s (0.52%) - - - - - -N7->N72 - - - - - - - 0.28s - - - - - -N74 - - -runtime -gcDrainN -0.04s (0.047%) -of 0.72s (0.85%) - - - - - -N7->N74 - - - - - - - 0.72s - - - - - -N80 - - -runtime -writebarrierptr_prewrite1 -func1 -0.01s (0.012%) -of 0.56s (0.66%) - - - - - -N7->N80 - - - - - - - 0.56s - - - - - -N8->N10 - - - - - - - 0.78s - - - - - -N13 - - -github -com/kpango/gache -(*DefaultMap) -Set -0.27s (0.32%) -of 6.84s (8.04%) - - - - - -N8->N13 - - - - - - - 6.84s - - - - - -N8->N14 - - - - - - - 0.56s - - - - - -N8->N16 - - - - - - - 1.21s - - - - - -N17 - - -github -com/kpango/gache -(*DefaultMap) -Get -0.36s (0.42%) -of 4.12s (4.84%) - - - - - -N8->N17 - - - - - - - 4.12s - - - - - -N8->N33 - - - - - - - 0.33s - - - - - -N9->N3 - - - - - - - 14.86s - - - - - -N31 - - -runtime -strequal -1.82s (2.14%) -of 2.03s (2.39%) - - - - - -N10->N31 - - - - - - - 2.03s - - - - - -N55 - - -runtime -memequal64 -0.57s (0.67%) - - - - - -N10->N55 - - - - - - - 0.57s - - - - - -N59 - - -runtime -f64equal -0.46s (0.54%) - - - - - -N10->N59 - - - - - - - 0.46s - - - - - -N11 - - -runtime -_System -0 of 10.36s (12.17%) - - - - - -N11->N7 - - - - - - - 0.26s - - - - - -N12 - - -runtime -_ExternalCode -8.95s (10.52%) - - - - - -N11->N12 - - - - - - - 8.95s - - - - - -N30 - - -runtime -walltime -1.40s (1.65%) - - - - - -N11->N30 - - - - - - - 0.64s - - - - - -N39 - - -runtime -nanotime -0.92s (1.08%) - - - - - -N11->N39 - - - - - - - 0.48s - - - - - -N34 - - -runtime -mapassign -0.68s (0.8%) -of 1.76s (2.07%) - - - - - -N13->N34 - - - - - - - 1.76s - - - - - -N38 - - -runtime -deferreturn -0.71s (0.83%) -of 1.32s (1.55%) - - - - - -N13->N38 - - - - - - - 0.60s - - - - - -N40 - - -runtime -deferproc -0.33s (0.39%) -of 1.13s (1.33%) - - - - - -N13->N40 - - - - - - - 0.47s - - - - - -N43 - - -sync -(*RWMutex) -Lock -0.41s (0.48%) -of 2.82s (3.31%) - - - - - -N13->N43 - - - - - - - 2.82s - - - - - -N53 - - -sync -(*RWMutex) -Unlock -0.25s (0.29%) -of 0.86s (1.01%) - - - - - -N13->N53 - - - - - - - 0.86s - - - - - -N14->N24 - - - - - - - 0.80s - - - - - -N15 - - -github -com/kpango/gache -(*Gache) -get -0.68s (0.8%) -of 8.75s (10.28%) - - - - - -N20 - - -sync -(*Map) -Load -1.67s (1.96%) -of 5.92s (6.96%) - - - - - -N15->N20 - - - - - - - 5.92s - - - - - -N41 - - -github -com/kpango/gache -value -isValid -0.60s (0.71%) -of 2.15s (2.53%) - - - - - -N15->N41 - - - - - - - 2.15s - - - - - -N16->N3 - - - - - - - 6.61s - - - - - -N16->N24 - - - - - - - 0.10s - - - - - -N17->N5 - - - - - - - 1.39s - - - - - -N17->N38 - - - - - - - 0.72s - - - - - -N17->N40 - - - - - - - 0.66s - - - - - -N57 - - -sync -(*RWMutex) -RUnlock -0.43s (0.51%) -of 0.68s (0.8%) - - - - - -N17->N57 - - - - - - - 0.68s - - - - - -N32 - - -sync/atomic -CompareAndSwapPointer -0.23s (0.27%) -of 3.16s (3.71%) - - - - - -N18->N32 - - - - - - - 3.16s - - - - - -N20->N5 - - - - - - - 4.25s - - - - - -N29 - - -runtime -aeshashbody -2.12s (2.49%) - - - - - -N21->N29 - - - - - - - 2.12s - - - - - -N25 - - -time -now -1.13s (1.33%) -of 2.31s (2.71%) - - - - - -N22->N25 - - - - - - - 2.31s - - - - - -N23->N10 - - - - - - - 2.63s - - - - - -N58 - - -runtime -wbBufFlush -0.09s (0.11%) -of 1.25s (1.47%) - - - - - -N24->N58 - - - - - - - 1.20s - - - - - -N25->N30 - - - - - - - 0.76s - - - - - -N25->N39 - - - - - - - 0.42s - - - - - -N26 - - -runtime -procyield -1.55s (1.82%) - - - - - -N27 - - -sync/atomic -CompareAndSwapUint64 -2.19s (2.57%) - - - - - -N28->N4 - - - - - - - 34.57s - - - - - -N32->N27 - - - - - - - 2.19s - - - - - -N62 - - -runtime -writebarrierptr_prewrite -0.14s (0.16%) -of 0.74s (0.87%) - - - - - -N32->N62 - - - - - - - 0.74s - - - - - -N33->N14 - - - - - - - 1.24s - - - - - -N33->N24 - - - - - - - 0.17s - - - - - -N34->N21 - - - - - - - 0.31s - - - - - -N34->N23 - - - - - - - 0.36s - - - - - -N35 - - -sync -(*Mutex) -Lock -0.97s (1.14%) -of 2.31s (2.71%) - - - - - -N35->N26 - - - - - - - 1.18s - - - - - -N36 - - -runtime -heapBitsForObject -0.98s (1.15%) - - - - - -N37 - - -runtime -scanobject -1.06s (1.25%) -of 1.52s (1.79%) - - - - - -N37->N36 - - - - - - - 0.25s - - - - - -N70 - - -runtime -freedefer -0.46s (0.54%) -of 0.48s (0.56%) - - - - - -N38->N70 - - - - - - - 0.48s - - - - - -N61 - - -runtime -newdefer -0.75s (0.88%) -of 0.77s (0.9%) - - - - - -N40->N61 - - - - - - - 0.77s - - - - - -N41->N22 - - - - - - - 1.55s - - - - - -N43->N35 - - - - - - - 2.31s - - - - - -N46->N15 - - - - - - - 8.75s - - - - - -N47 - - -runtime -wbBufFlush1 -0.41s (0.48%) -of 1.08s (1.27%) - - - - - -N47->N36 - - - - - - - 0.45s - - - - - -N48 - - -runtime -lock -0.13s (0.15%) -of 0.47s (0.55%) - - - - - -N48->N26 - - - - - - - 0.34s - - - - - -N49 - - -runtime -(*gcWork) -dispose -0.53s (0.62%) - - - - - -N50 - - -runtime -gcBgMarkWorker -0 of 1.48s (1.74%) - - - - - -N50->N7 - - - - - - - 1.47s - - - - - -N51 - - -runtime -schedule -0.01s (0.012%) -of 1.25s (1.47%) - - - - - -N54 - - -runtime -findrunnable -0.06s (0.071%) -of 0.84s (0.99%) - - - - - -N51->N54 - - - - - - - 0.84s - - - - - -N52->N49 - - - - - - - 0.43s - - - - - -N60 - - -sync -(*Mutex) -Unlock -0.38s (0.45%) -of 0.56s (0.66%) - - - - - -N53->N60 - - - - - - - 0.56s - - - - - -N54->N44 - - - - - - - 0.16s - - - - - -N66 - - -runtime -runqgrab -0.09s (0.11%) -of 0.50s (0.59%) - - - - - -N54->N66 - - - - - - - 0.50s - - - - - -N71 - - -runtime -gosweepone -0.01s (0.012%) -of 0.45s (0.53%) - - - - - -N56->N71 - - - - - - - 0.16s - - - - - -N73 - - -runtime -(*mheap) -alloc -0 of 0.68s (0.8%) - - - - - -N56->N73 - - - - - - - 0.68s - - - - - -N63 - - -sync -runtime_Semrelease -0 of 0.48s (0.56%) - - - - - -N57->N63 - - - - - - - 0.25s - - - - - -N58->N7 - - - - - - - 1.15s - - - - - -N60->N63 - - - - - - - 0.18s - - - - - -N77 - - -runtime -writebarrierptr_prewrite1 -0.04s (0.047%) -of 0.60s (0.71%) - - - - - -N62->N77 - - - - - - - 0.60s - - - - - -N67 - - -runtime -semrelease1 -0.02s (0.024%) -of 0.48s (0.56%) - - - - - -N63->N67 - - - - - - - 0.48s - - - - - -N64 - - -runtime -shade -0.11s (0.13%) -of 0.48s (0.56%) - - - - - -N64->N36 - - - - - - - 0.27s - - - - - -N65 - - -runtime -sweepone -0.16s (0.19%) -of 0.45s (0.53%) - - - - - -N67->N7 - - - - - - - 0.17s - - - - - -N67->N48 - - - - - - - 0.27s - - - - - -N68->N47 - - - - - - - 1.08s - - - - - -N69->N37 - - - - - - - 1.07s - - - - - -N71->N7 - - - - - - - 0.28s - - - - - -N71->N72 - - - - - - - 0.16s - - - - - -N72->N65 - - - - - - - 0.43s - - - - - -N73->N45 - - - - - - - 0.39s - - - - - -N74->N37 - - - - - - - 0.45s - - - - - -N75 - - -runtime -gcmarkwb_m -0.07s (0.082%) -of 0.55s (0.65%) - - - - - -N75->N64 - - - - - - - 0.48s - - - - - -N76->N7 - - - - - - - 1.05s - - - - - -N77->N7 - - - - - - - 0.56s - - - - - -N78 - - -runtime -mcall -0.01s (0.012%) -of 1.14s (1.34%) - - - - - -N78->N51 - - - - - - - 1.08s - - - - - -N79->N7 - - - - - - - 0.73s - - - - - -N80->N75 - - - - - - - 0.55s - - - - - diff --git a/bench/mem-def.svg b/bench/mem-def.svg deleted file mode 100644 index e594ba0..0000000 --- a/bench/mem-def.svg +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: inuse_space -Time: May 2, 2018 at 7:38pm (JST) -Showing nodes accounting for 0, 0% of 0 total - - - - - diff --git a/bench/mem-gache.svg b/bench/mem-gache.svg deleted file mode 100644 index 6999635..0000000 --- a/bench/mem-gache.svg +++ /dev/null @@ -1,491 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: inuse_space -Time: May 2, 2018 at 7:38pm (JST) -Showing nodes accounting for 512.50kB, 100% of 512.50kB total - - - - - -N1 - - -hash/crc32 -simpleMakeTable -512.50kB (100%) - - - - - -NN1_0 - - - - - -1kB - - - - - -N1->NN1_0 - - - - - - - 512.50kB - - - - - -N2 - - -runtime -main -0 of 512.50kB (100%) - - - - - -N5 - - -main -init -0 of 512.50kB (100%) - - - - - -N2->N5 - - - - - - - 512.50kB - - - - - -N3 - - -compress/gzip -init -0 of 512.50kB (100%) - - - - - -N4 - - -hash/crc32 -init -0 of 512.50kB (100%) - - - - - -N3->N4 - - - - - - - 512.50kB - - - - - -N4->N1 - - - - - - - 512.50kB - - - - - -N7 - - -testing/internal/testdeps -init -0 of 512.50kB (100%) - - - - - -N5->N7 - - - - - - - 512.50kB - - - - - -N6 - - -runtime/pprof -init -0 of 512.50kB (100%) - - - - - -N6->N3 - - - - - - - 512.50kB - - - - - -N7->N6 - - - - - - - 512.50kB - - - - - diff --git a/bench/mem.svg b/bench/mem.svg deleted file mode 100644 index e594ba0..0000000 --- a/bench/mem.svg +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - -test.bin - - -cluster_L - - - - -File: test.bin - - -File: test.bin -Type: inuse_space -Time: May 2, 2018 at 7:38pm (JST) -Showing nodes accounting for 0, 0% of 0 total - - - - -