💾 Archived View for mediocregopher.com › lab › golang-stack-vs-heap › bench.txt captured on 2024-12-17 at 10:50:00.

View Raw

More Information

-=-=-=-=-=-=-

goos: linux
goarch: amd64
pkg: local-playground
cpu: AMD Ryzen 9 5900X 12-Core Processor            
BenchmarkStackCalls/1-[8]uint8-16         	1000000000	         3.532 ns/op
BenchmarkStackCalls/1-*[8]uint8-16        	1000000000	        12.33 ns/op
BenchmarkStackCalls/1-[16]uint8-16        	1000000000	         3.365 ns/op
BenchmarkStackCalls/1-*[16]uint8-16       	1000000000	        18.31 ns/op
BenchmarkStackCalls/1-[32]uint8-16        	1000000000	         3.801 ns/op
BenchmarkStackCalls/1-*[32]uint8-16       	1000000000	        20.50 ns/op
BenchmarkStackCalls/1-[64]uint8-16        	1000000000	         5.468 ns/op
BenchmarkStackCalls/1-*[64]uint8-16       	1000000000	        23.97 ns/op
BenchmarkStackCalls/1-[128]uint8-16       	1000000000	        12.04 ns/op
BenchmarkStackCalls/1-*[128]uint8-16      	847854382	        29.83 ns/op
BenchmarkStackCalls/1-[256]uint8-16       	1000000000	        19.31 ns/op
BenchmarkStackCalls/1-*[256]uint8-16      	548561431	        46.12 ns/op
BenchmarkStackCalls/1-[512]uint8-16       	685393257	        34.98 ns/op
BenchmarkStackCalls/1-*[512]uint8-16      	327802578	        79.95 ns/op
BenchmarkStackCalls/1-[1024]uint8-16      	343680046	        69.46 ns/op
BenchmarkStackCalls/1-*[1024]uint8-16     	157558842	       176.7 ns/op
BenchmarkStackCalls/1-[2048]uint8-16      	174728910	       136.2 ns/op
BenchmarkStackCalls/1-*[2048]uint8-16     	75135922	       312.7 ns/op
BenchmarkStackCalls/2-[8]uint8-16         	1000000000	         4.609 ns/op
BenchmarkStackCalls/2-*[8]uint8-16        	1000000000	        13.55 ns/op
BenchmarkStackCalls/2-[16]uint8-16        	1000000000	         4.622 ns/op
BenchmarkStackCalls/2-*[16]uint8-16       	1000000000	        19.37 ns/op
BenchmarkStackCalls/2-[32]uint8-16        	1000000000	         4.993 ns/op
BenchmarkStackCalls/2-*[32]uint8-16       	1000000000	        21.51 ns/op
BenchmarkStackCalls/2-[64]uint8-16        	1000000000	         7.244 ns/op
BenchmarkStackCalls/2-*[64]uint8-16       	957623845	        25.30 ns/op
BenchmarkStackCalls/2-[128]uint8-16       	1000000000	        14.62 ns/op
BenchmarkStackCalls/2-*[128]uint8-16      	761152905	        30.45 ns/op
BenchmarkStackCalls/2-[256]uint8-16       	971834740	        23.76 ns/op
BenchmarkStackCalls/2-*[256]uint8-16      	519622869	        47.86 ns/op
BenchmarkStackCalls/2-[512]uint8-16       	568977016	        41.06 ns/op
BenchmarkStackCalls/2-*[512]uint8-16      	286797973	        76.96 ns/op
BenchmarkStackCalls/2-[1024]uint8-16      	286032740	        83.84 ns/op
BenchmarkStackCalls/2-*[1024]uint8-16     	152460428	       193.0 ns/op
BenchmarkStackCalls/2-[2048]uint8-16      	154236033	       154.8 ns/op
BenchmarkStackCalls/2-*[2048]uint8-16     	83631301	       302.3 ns/op
BenchmarkStackCalls/4-[8]uint8-16         	1000000000	         6.733 ns/op
BenchmarkStackCalls/4-*[8]uint8-16        	1000000000	        15.72 ns/op
BenchmarkStackCalls/4-[16]uint8-16        	1000000000	         6.922 ns/op
BenchmarkStackCalls/4-*[16]uint8-16       	1000000000	        21.47 ns/op
BenchmarkStackCalls/4-[32]uint8-16        	1000000000	         7.811 ns/op
BenchmarkStackCalls/4-*[32]uint8-16       	1000000000	        23.42 ns/op
BenchmarkStackCalls/4-[64]uint8-16        	1000000000	         9.889 ns/op
BenchmarkStackCalls/4-*[64]uint8-16       	886049101	        27.18 ns/op
BenchmarkStackCalls/4-[128]uint8-16       	1000000000	        19.71 ns/op
BenchmarkStackCalls/4-*[128]uint8-16      	720340785	        33.44 ns/op
BenchmarkStackCalls/4-[256]uint8-16       	739456975	        32.61 ns/op
BenchmarkStackCalls/4-*[256]uint8-16      	507148148	        46.21 ns/op
BenchmarkStackCalls/4-[512]uint8-16       	426899479	        54.16 ns/op
BenchmarkStackCalls/4-*[512]uint8-16      	307927516	        81.37 ns/op
BenchmarkStackCalls/4-[1024]uint8-16      	221934120	       111.9 ns/op
BenchmarkStackCalls/4-*[1024]uint8-16     	160521583	       197.8 ns/op
BenchmarkStackCalls/4-[2048]uint8-16      	100000000	       204.1 ns/op
BenchmarkStackCalls/4-*[2048]uint8-16     	100000000	       327.4 ns/op
BenchmarkStackCalls/8-[8]uint8-16         	1000000000	        10.86 ns/op
BenchmarkStackCalls/8-*[8]uint8-16        	1000000000	        20.08 ns/op
BenchmarkStackCalls/8-[16]uint8-16        	1000000000	        12.00 ns/op
BenchmarkStackCalls/8-*[16]uint8-16       	933073971	        25.74 ns/op
BenchmarkStackCalls/8-[32]uint8-16        	1000000000	        13.78 ns/op
BenchmarkStackCalls/8-*[32]uint8-16       	863148602	        27.55 ns/op
BenchmarkStackCalls/8-[64]uint8-16        	1000000000	        17.42 ns/op
BenchmarkStackCalls/8-*[64]uint8-16       	789421809	        31.86 ns/op
BenchmarkStackCalls/8-[128]uint8-16       	800342654	        30.94 ns/op
BenchmarkStackCalls/8-*[128]uint8-16      	629182641	        37.27 ns/op
BenchmarkStackCalls/8-[256]uint8-16       	480629120	        49.92 ns/op
BenchmarkStackCalls/8-*[256]uint8-16      	458699216	        49.04 ns/op
BenchmarkStackCalls/8-[512]uint8-16       	294834790	        84.32 ns/op
BenchmarkStackCalls/8-*[512]uint8-16      	308410927	        83.56 ns/op
BenchmarkStackCalls/8-[1024]uint8-16      	142521516	       167.9 ns/op
BenchmarkStackCalls/8-*[1024]uint8-16     	149684852	       186.9 ns/op
BenchmarkStackCalls/8-[2048]uint8-16      	80511248	       299.4 ns/op
BenchmarkStackCalls/8-*[2048]uint8-16     	72618900	       284.4 ns/op
BenchmarkStackCalls/16-[8]uint8-16        	1000000000	        19.88 ns/op
BenchmarkStackCalls/16-*[8]uint8-16       	815815406	        29.64 ns/op
BenchmarkStackCalls/16-[16]uint8-16       	955998336	        25.83 ns/op
BenchmarkStackCalls/16-*[16]uint8-16      	678093354	        35.34 ns/op
BenchmarkStackCalls/16-[32]uint8-16       	879332236	        27.43 ns/op
BenchmarkStackCalls/16-*[32]uint8-16      	647718687	        36.69 ns/op
BenchmarkStackCalls/16-[64]uint8-16       	741635527	        32.30 ns/op
BenchmarkStackCalls/16-*[64]uint8-16      	600058030	        41.35 ns/op
BenchmarkStackCalls/16-[128]uint8-16      	479351638	        49.71 ns/op
BenchmarkStackCalls/16-*[128]uint8-16     	506831888	        47.19 ns/op
BenchmarkStackCalls/16-[256]uint8-16      	294006957	        81.86 ns/op
BenchmarkStackCalls/16-*[256]uint8-16     	393958891	        56.90 ns/op
BenchmarkStackCalls/16-[512]uint8-16      	174190300	       136.8 ns/op
BenchmarkStackCalls/16-*[512]uint8-16     	263257519	        91.09 ns/op
BenchmarkStackCalls/16-[1024]uint8-16     	84247352	       270.5 ns/op
BenchmarkStackCalls/16-*[1024]uint8-16    	169525586	       201.7 ns/op
BenchmarkStackCalls/16-[2048]uint8-16     	46508985	       515.3 ns/op
BenchmarkStackCalls/16-*[2048]uint8-16    	73693029	       304.7 ns/op
BenchmarkStackCalls/32-[8]uint8-16        	543929610	        45.58 ns/op
BenchmarkStackCalls/32-*[8]uint8-16       	456017208	        51.94 ns/op
BenchmarkStackCalls/32-[16]uint8-16       	357604172	        64.46 ns/op
BenchmarkStackCalls/32-*[16]uint8-16      	412463083	        57.99 ns/op
BenchmarkStackCalls/32-[32]uint8-16       	353319068	        70.61 ns/op
BenchmarkStackCalls/32-*[32]uint8-16      	399190963	        60.30 ns/op
BenchmarkStackCalls/32-[64]uint8-16       	316752386	        73.29 ns/op
BenchmarkStackCalls/32-*[64]uint8-16      	374720167	        64.23 ns/op
BenchmarkStackCalls/32-[128]uint8-16      	230647441	       104.9 ns/op
BenchmarkStackCalls/32-*[128]uint8-16     	336985004	        71.27 ns/op
BenchmarkStackCalls/32-[256]uint8-16      	149118344	       160.9 ns/op
BenchmarkStackCalls/32-*[256]uint8-16     	280419822	        85.21 ns/op
BenchmarkStackCalls/32-[512]uint8-16      	91620494	       266.5 ns/op
BenchmarkStackCalls/32-*[512]uint8-16     	219776510	        97.14 ns/op
BenchmarkStackCalls/32-[1024]uint8-16     	45662546	       522.9 ns/op
BenchmarkStackCalls/32-*[1024]uint8-16    	139705306	       180.4 ns/op
BenchmarkStackCalls/32-[2048]uint8-16     	25352620	       926.9 ns/op
BenchmarkStackCalls/32-*[2048]uint8-16    	68553878	       322.8 ns/op
BenchmarkStackCalls/64-[8]uint8-16        	292935253	        81.98 ns/op
BenchmarkStackCalls/64-*[8]uint8-16       	256045202	        92.98 ns/op
BenchmarkStackCalls/64-[16]uint8-16       	164579541	       144.2 ns/op
BenchmarkStackCalls/64-*[16]uint8-16      	244712581	        97.99 ns/op
BenchmarkStackCalls/64-[32]uint8-16       	164035116	       150.4 ns/op
BenchmarkStackCalls/64-*[32]uint8-16      	239110381	       100.5 ns/op
BenchmarkStackCalls/64-[64]uint8-16       	155854153	       153.8 ns/op
BenchmarkStackCalls/64-*[64]uint8-16      	229834615	       103.8 ns/op
BenchmarkStackCalls/64-[128]uint8-16      	100000000	       204.0 ns/op
BenchmarkStackCalls/64-*[128]uint8-16     	218994082	       109.4 ns/op
BenchmarkStackCalls/64-[256]uint8-16      	71840682	       322.9 ns/op
BenchmarkStackCalls/64-*[256]uint8-16     	190262706	       127.8 ns/op
BenchmarkStackCalls/64-[512]uint8-16      	44655362	       517.4 ns/op
BenchmarkStackCalls/64-*[512]uint8-16     	159757100	       140.2 ns/op
BenchmarkStackCalls/64-[1024]uint8-16     	23952817	      1000 ns/op
BenchmarkStackCalls/64-*[1024]uint8-16    	121172094	       203.3 ns/op
BenchmarkStackCalls/64-[2048]uint8-16     	14020593	      1714 ns/op
BenchmarkStackCalls/64-*[2048]uint8-16    	65078644	       326.0 ns/op
BenchmarkStackCalls/128-[8]uint8-16       	144482614	       167.4 ns/op
BenchmarkStackCalls/128-*[8]uint8-16      	133680388	       180.0 ns/op
BenchmarkStackCalls/128-[16]uint8-16      	79132448	       289.3 ns/op
BenchmarkStackCalls/128-*[16]uint8-16     	132105516	       180.2 ns/op
BenchmarkStackCalls/128-[32]uint8-16      	81788536	       305.8 ns/op
BenchmarkStackCalls/128-*[32]uint8-16     	132297909	       182.3 ns/op
BenchmarkStackCalls/128-[64]uint8-16      	81195142	       306.6 ns/op
BenchmarkStackCalls/128-*[64]uint8-16     	128365838	       184.3 ns/op
BenchmarkStackCalls/128-[128]uint8-16     	61138897	       394.7 ns/op
BenchmarkStackCalls/128-*[128]uint8-16    	122295183	       196.3 ns/op
BenchmarkStackCalls/128-[256]uint8-16     	33293734	       636.8 ns/op
BenchmarkStackCalls/128-*[256]uint8-16    	100000000	       210.5 ns/op
BenchmarkStackCalls/128-[512]uint8-16     	21703240	      1105 ns/op
BenchmarkStackCalls/128-*[512]uint8-16    	97794232	       238.7 ns/op
BenchmarkStackCalls/128-[1024]uint8-16    	12345261	      1868 ns/op
BenchmarkStackCalls/128-*[1024]uint8-16   	80918149	       290.7 ns/op
BenchmarkStackCalls/128-[2048]uint8-16    	 7301400	      3308 ns/op
BenchmarkStackCalls/128-*[2048]uint8-16   	55545531	       426.6 ns/op
BenchmarkStackCalls/256-[8]uint8-16       	70152102	       339.7 ns/op
BenchmarkStackCalls/256-*[8]uint8-16      	69379867	       338.8 ns/op
BenchmarkStackCalls/256-[16]uint8-16      	41093967	       584.0 ns/op
BenchmarkStackCalls/256-*[16]uint8-16     	69343142	       348.5 ns/op
BenchmarkStackCalls/256-[32]uint8-16      	39355046	       586.7 ns/op
BenchmarkStackCalls/256-*[32]uint8-16     	68898045	       344.8 ns/op
BenchmarkStackCalls/256-[64]uint8-16      	39062658	       591.0 ns/op
BenchmarkStackCalls/256-*[64]uint8-16     	68660486	       349.0 ns/op
BenchmarkStackCalls/256-[128]uint8-16     	28670011	       805.0 ns/op
BenchmarkStackCalls/256-*[128]uint8-16    	67321927	       359.5 ns/op
BenchmarkStackCalls/256-[256]uint8-16     	18252410	      1313 ns/op
BenchmarkStackCalls/256-*[256]uint8-16    	63149373	       375.3 ns/op
BenchmarkStackCalls/256-[512]uint8-16     	11120180	      2209 ns/op
BenchmarkStackCalls/256-*[512]uint8-16    	58466268	       408.4 ns/op
BenchmarkStackCalls/256-[1024]uint8-16    	 6453979	      3695 ns/op
BenchmarkStackCalls/256-*[1024]uint8-16   	50703666	       461.0 ns/op
BenchmarkStackCalls/256-[2048]uint8-16    	 3250390	      7205 ns/op
BenchmarkStackCalls/256-*[2048]uint8-16   	40259451	       604.2 ns/op
BenchmarkStackCalls/512-[8]uint8-16       	36322891	       658.5 ns/op
BenchmarkStackCalls/512-*[8]uint8-16      	36338164	       663.0 ns/op
BenchmarkStackCalls/512-[16]uint8-16      	20511210	      1164 ns/op
BenchmarkStackCalls/512-*[16]uint8-16     	35732302	       673.0 ns/op
BenchmarkStackCalls/512-[32]uint8-16      	20500297	      1174 ns/op
BenchmarkStackCalls/512-*[32]uint8-16     	35391603	       677.8 ns/op
BenchmarkStackCalls/512-[64]uint8-16      	18330816	      1342 ns/op
BenchmarkStackCalls/512-*[64]uint8-16     	34927880	       681.9 ns/op
BenchmarkStackCalls/512-[128]uint8-16     	14899936	      1667 ns/op
BenchmarkStackCalls/512-*[128]uint8-16    	34769343	       690.7 ns/op
BenchmarkStackCalls/512-[256]uint8-16     	 9406035	      2684 ns/op
BenchmarkStackCalls/512-*[256]uint8-16    	33589380	       711.0 ns/op
BenchmarkStackCalls/512-[512]uint8-16     	 5544651	      4313 ns/op
BenchmarkStackCalls/512-*[512]uint8-16    	32264419	       742.5 ns/op
BenchmarkStackCalls/512-[1024]uint8-16    	 2905000	      8309 ns/op
BenchmarkStackCalls/512-*[1024]uint8-16   	29486221	       811.4 ns/op
BenchmarkStackCalls/512-[2048]uint8-16    	 1569606	     15308 ns/op
BenchmarkStackCalls/512-*[2048]uint8-16   	24007030	       975.8 ns/op
BenchmarkStackCalls/1024-[8]uint8-16      	17488694	      1418 ns/op
BenchmarkStackCalls/1024-*[8]uint8-16     	17684210	      1353 ns/op
BenchmarkStackCalls/1024-[16]uint8-16     	 9925094	      2405 ns/op
BenchmarkStackCalls/1024-*[16]uint8-16    	17861186	      1349 ns/op
BenchmarkStackCalls/1024-[32]uint8-16     	 9820921	      2358 ns/op
BenchmarkStackCalls/1024-*[32]uint8-16    	17943417	      1344 ns/op
BenchmarkStackCalls/1024-[64]uint8-16     	 9243111	      2578 ns/op
BenchmarkStackCalls/1024-*[64]uint8-16    	17859997	      1353 ns/op
BenchmarkStackCalls/1024-[128]uint8-16    	 7229059	      3195 ns/op
BenchmarkStackCalls/1024-*[128]uint8-16   	17466614	      1370 ns/op
BenchmarkStackCalls/1024-[256]uint8-16    	 4781006	      5204 ns/op
BenchmarkStackCalls/1024-*[256]uint8-16   	17374875	      1391 ns/op
BenchmarkStackCalls/1024-[512]uint8-16    	 2354432	     10391 ns/op
BenchmarkStackCalls/1024-*[512]uint8-16   	17008176	      1418 ns/op
BenchmarkStackCalls/1024-[1024]uint8-16   	 1330176	     18742 ns/op
BenchmarkStackCalls/1024-*[1024]uint8-16  	16067737	      1491 ns/op
BenchmarkStackCalls/1024-[2048]uint8-16   	  767568	     32494 ns/op
BenchmarkStackCalls/1024-*[2048]uint8-16  	14499648	      1678 ns/op
PASS
ok  	local-playground	5340.640s