Skip to content

Benchmarks

jcdny edited this page Dec 20, 2011 · 3 revisions

m2.xlarge: using go 60.1-9753

123288600 ns/op engine.BenchmarkEngine	      10
130909000 ns/op engine.BenchmarkEngineOrdered	      10
 12438430 ns/op game.BenchmarkParse	     100
 12557465 ns/op maps.BenchmarkApplyCached	     200
 21649340 ns/op maps.BenchmarkApplyNone	     100
 30984660 ns/op maps.BenchmarkApplyNoCache	      50
 34989800 ns/op maps.BenchmarkApplyCacheCreateA	      50
 22765180 ns/op maps.BenchmarkApplyCacheCreateB	     100
130144600 ns/op maps.BenchmarkCacheAll	      10
   567735 ns/op maps.BenchmarkTransMap	    5000
 31556800 ns/op maps.BenchmarkTile0	      50
 30530820 ns/op maps.BenchmarkTile4	      50
 30592700 ns/op maps.BenchmarkTile8	      50
     79.6 ns/op util.BenchmarkMinV	20000000
     88.3 ns/op util.BenchmarkMin	20000000

Ubuntu 11.04 PhenomII X3

206101200 ns/op engine.BenchmarkEngine	       5
212601600 ns/op engine.BenchmarkEngineOrdered	       5
 14766500 ns/op game.BenchmarkParse	     100
 15905120 ns/op maps.BenchmarkApplyCached	     100
 27200050 ns/op maps.BenchmarkApplyNone	     100
 52740880 ns/op maps.BenchmarkApplyNoCache	      50
 42257280 ns/op maps.BenchmarkApplyCacheCreateA	      50
 28362680 ns/op maps.BenchmarkApplyCacheCreateB	      50
152295300 ns/op maps.BenchmarkCacheAll	      10
  1096505 ns/op maps.BenchmarkTransMap	    2000
 34597160 ns/op maps.BenchmarkTile0	      50
 34726680 ns/op maps.BenchmarkTile4	      50
 34510780 ns/op maps.BenchmarkTile8	      50
      101 ns/op util.BenchmarkMinV	20000000
     90.1 ns/op util.BenchmarkMin	20000000

Mac OS X

124966000 ns/op engine.BenchmarkEngine	      10
131019800 ns/op engine.BenchmarkEngineOrdered	      10
 12664680 ns/op game.BenchmarkParse	     200
 11035745 ns/op maps.BenchmarkApplyCached	     200
 22791480 ns/op maps.BenchmarkApplyNone	     100
 28601600 ns/op maps.BenchmarkApplyNoCache	      50
 36333280 ns/op maps.BenchmarkApplyCacheCreateA	      50
 25426170 ns/op maps.BenchmarkApplyCacheCreateB	     100
144461100 ns/op maps.BenchmarkCacheAll	      10
   654447 ns/op maps.BenchmarkTransMap	    5000
 31541460 ns/op maps.BenchmarkTile0	      50
 31571460 ns/op maps.BenchmarkTile4	      50
 31571220 ns/op maps.BenchmarkTile8	      50
     73.5 ns/op util.BenchmarkMinV	50000000
      107 ns/op util.BenchmarkMin	20000000

c1.xlarge

 15677190 ns/op game.BenchmarkParse	     100
 15758880 ns/op maps.BenchmarkApplyCached	     100
 26980450 ns/op maps.BenchmarkApplyNone	     100
 37851860 ns/op maps.BenchmarkApplyNoCache	      50
 42967940 ns/op maps.BenchmarkApplyCacheCreateA	      50
 28350060 ns/op maps.BenchmarkApplyCacheCreateB	      50
165462000 ns/op maps.BenchmarkCacheAll	      10
   784545 ns/op maps.BenchmarkTransMap	    2000
 39894780 ns/op maps.BenchmarkTile0	      50
 39509760 ns/op maps.BenchmarkTile4	      50
 39231520 ns/op maps.BenchmarkTile8	      50
156166400 ns/op engine.BenchmarkEngine	      10
168102500 ns/op engine.BenchmarkEngineOrdered	      10
     99.1 ns/op util.BenchmarkMinV	20000000
      111 ns/op util.BenchmarkMin	20000000

Clone this wiki locally