Benchmark: timing 20000 iterations of POSIX, timelocal... POSIX: 1 wallclock secs ( 0.57 usr + 0.03 sys = 0.60 CPU) @ 33333.33/s (n=20000) timelocal: 6 wallclock secs ( 4.95 usr + 0.00 sys = 4.95 CPU) @ 4040.40/s (n=20000) Rate timelocal POSIX timelocal 4040/s -- -88% POSIX 33333/s 725% --