Branch: Tag:

2014-08-07

2014-08-07 16:27:43 by Per Hedbor <ph@opera.com>

Added a few benchmarks to check the last optimization

1: + #pike __REAL_VERSION__ + // inherit Tools.Shoot.Test;    -  + constant name="Adding element to array (local)"; +  + #define ITER 10000 +  + int perform() + { +  array a = ({}); +  for (int i=0; i<ITER; i++) +  a = a+({random(10)}); +  return ITER; + }   Newline at end of file added.