justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: when you want to measure how fast an algorithm is how do you do it?
Asked by Olilarkin (81.100.230.x) on January 26 2014, 10:44pm
Reply on January 27 2014, 4:24am:
    I have a little file called timing.c which (when enabled on test builds) does RDTSC or QueryPerformanceCounter() or gettimeofday(), and measure the times of the algorithm. Don't forget to test with various parameters and on different CPUs, too (things that are faster on an i7 are often slower on a C2D, for example).

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS