Branch: Tag:

2015-07-31

2015-07-31 15:29:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tools.Standalone.benchmark: Adjusted table field sizes.

The field size for test names has been extended from 39 to 41
characters since there's one benchmark test that has a 40
character name ("Adding element to array (private global)").

This fixes the missalinged result for that test.

Also adds a missing '-' at the last line.

151:    total_pct += pct;    if( isatty )    write( color( pct ) ); -  write("%40s%s %5.1f%%\n", -  dot(id,40,true,odd=!odd), -  dot(res->readable,18,false,odd), +  write("%42s%s %5.1f%%\n", +  dot(id,42,true,odd=!odd), +  dot(res->readable,16,false,odd),    pct);    if( isatty ) write( "\e[0m" );    }    }    else    { -  write(dot(id,40,true,odd=!odd) + -  dot(res->readable,19,false,odd)+"\n"); +  write(dot(id,42,true,odd=!odd) + +  dot(res->readable,17,false,odd)+"\n");    }    }    if( json )
174:    total_pct / n_tests);    }    else -  write("-"*58+"\n"); +  write("-"*59+"\n");   }