[Include] Benchmark include
#5

That's a great idea, it would definitely make benchmarks more thorough and evident.

I was thinking of:

pawn Код:
Benchmark:bench1[100000]()
{
}

main()
{
    new
        average,
        fastest,
        slowest;
 
    Benchmark_Execute("bench1", average, fastest, slowest);

    printf("Average time between each tick: %d ms", average);
    printf("Fastest phase: %d ms", fastest);
    printf("Slowest phase: %d ms", slowest);
}
Though there will be more than those 3.
Reply


Messages In This Thread
Benchmark include - by Emmet_ - 02.01.2014, 18:36
Re: Benchmark include - by PT - 03.01.2014, 06:57
Re: Benchmark include - by Emmet_ - 03.01.2014, 07:06
Re: Benchmark include - by GiamPy. - 03.01.2014, 12:00
Re: Benchmark include - by Emmet_ - 03.01.2014, 12:13
Re: Benchmark include - by iZN - 04.01.2014, 06:38

Forum Jump:


Users browsing this thread: 1 Guest(s)