Skip to content

Initial Code Times

aanciaes edited this page Nov 1, 2018 · 2 revisions

Initial Code Times for multiple array sizes:

--- Size: 100 (hundred) ---
testMap:	       2	microseconds
testReduce:	       5	microseconds
testScan:	       1	microseconds
testPack:	       3	microseconds
testGather:	       1	microseconds
testScatter:	       9	microseconds
testPipeline:	       9	microseconds
testFarm:	       1	microseconds

--- Size 10000 (ten thousand) ---
testMap:	     142	microseconds
testReduce:	      79	microseconds
testScan:	      78	microseconds
testPack:	     147	microseconds
testGather:	       4	microseconds
testScatter:	     643	microseconds
testPipeline:	    1035	microseconds
testFarm:	      81	microseconds

--- Size: 100000 (hundred thousand) ---
testMap:	    1115	microseconds
testReduce:	     584	microseconds
testScan:	     956	microseconds
testPack:	     612	microseconds
testGather:	       3	microseconds
testScatter:	    3486	microseconds
testPipeline:	    5742	microseconds
testFarm:	     438	microseconds

--- Size: 1000000 (one million) ---
testMap:	    6232	microseconds
testReduce:	    3807	microseconds
testScan:	    6805	microseconds
testPack:	    4541	microseconds
testGather:	       4	microseconds
testScatter:	   26182	microseconds
testPipeline:	   49744	microseconds
testFarm:	    5035	microseconds

--- Size: 10000000 (ten million) ---
testMap:	   58472	microseconds
testReduce:	   36079	microseconds
testScan:	   71267	microseconds
testPack:	   52178	microseconds
testGather:	       6	microseconds
testScatter:	  258519	microseconds
testPipeline:	  506587	microseconds
testFarm:	   60476	microseconds

--- Size: 100000000 (hundred million) ---
testMap:	 2171476	microseconds
testReduce:	  339495	microseconds
testScan:	  665170	microseconds
testPack:	  488466	microseconds
testGather:	       6	microseconds
testScatter:	 2550649	microseconds
testPipeline:	 5068179	microseconds
testFarm:	  553768	microseconds

--- Size: 1000000000 (one billion) ---
Killed!!

Clone this wiki locally