• Eugene Kosov's avatar
    speed up my_timer_init() · 8ec877f4
    Eugene Kosov authored
    I run perf top during ./mtr testing and constantly see times()
    function there. It's so slow, that it has no sense to run it
    in a loop too many times.
    
    This patch speeds up -suite=innodb for me from 218s to 208s.
    9s of times() function!
    8ec877f4
my_rdtsc.c 35 KB