pike.git / lib / modules / Tools.pmod / Standalone.pmod / benchmark.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/benchmark.pike:144:    int on = comparison[id]->n_over_time;    if( !on )    write( dot(res->readable,19,false,odd)+"\n");    else    {    int diff = res->n_over_time - on;    float pct = diff*100.0 / on;    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 )    write( "\n}\n");    else if( comparison )    {    write("-"*65+"\n"+    " "*40+"%24.1f%%\n"+    "-"*65+"\n",    total_pct / n_tests);    }    else -  write("-"*58+"\n"); +  write("-"*59+"\n");   }