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

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/benchmark.pike:107:       if( json )    write("{\n");    else if( !comparison )    write("-"*59+"\n%-40s%19s\n"+"-"*59+"\n",    "Test","Result");    else    write("-"*65+"\n%-40s%18s%7s\n"+"-"*65+"\n",    "Test","Result","Change");    -  call_out(run_tests, 0); +  call_out(Thread.Thread, 0, run_tests);    return -1;   }      void run_tests()   {    mixed err = catch {    /* Run overhead check first. */    float overhead_time;    array(string) to_run = glob(test_globs,sort(indices (tests)-({"Overhead"})));    mapping res = Tools.Shoot.run( tests["Overhead"], 1, 0.0 );