Closed elavoie closed 8 years ago
The JS versions of nqueens are 4-20x slower than the C version rather than the expected factor of 2:
benchmark,implementation,compiler,platform,environments,mean,std,times nqueens,c,gcc,mba-2011,native,3.7895943333333335,0.03254402787507002,3.766584,3.826829,3.77537 nqueens,js,none-js,mba-2011,chrome,55.388,0.6129510584051558,54.741,55.96,55.463 nqueens,js,none-js,mba-2011,firefox,16.397666666666666,0.1831429314315263,16.519,16.187,16.487 nqueens,js,none-js,mba-2011,safari,36.24433333333334,0.4209659527008464,36.714,36.118,35.901
Maybe it is caused by the usage of eval by the environment/run script to run the benchmark?
Moved to Sable/Ostrich2#4
The JS versions of nqueens are 4-20x slower than the C version rather than the expected factor of 2:
benchmark,implementation,compiler,platform,environments,mean,std,times nqueens,c,gcc,mba-2011,native,3.7895943333333335,0.03254402787507002,3.766584,3.826829,3.77537 nqueens,js,none-js,mba-2011,chrome,55.388,0.6129510584051558,54.741,55.96,55.463 nqueens,js,none-js,mba-2011,firefox,16.397666666666666,0.1831429314315263,16.519,16.187,16.487 nqueens,js,none-js,mba-2011,safari,36.24433333333334,0.4209659527008464,36.714,36.118,35.901
Maybe it is caused by the usage of eval by the environment/run script to run the benchmark?