Intro

A list of micro-optimization tests / benchmarks. No guessing - just code and results. See testing page if you want to know the details of how each micro-optimization was tested. Add new code for the comparison - the tests will be run shortly.

....

Submitted by evex on Tue, 11/04/2014 - 18:47

echooo

Submitted by war1an on Mon, 12/31/2012 - 16:46

f1 is slower than f2 by 0%

50%
updown
50%

is_a vs instanceof

Submitted by gekkie on Tue, 05/15/2012 - 15:25

f1 is slower than f2 by 195.31% (2 times slower)

50%
updown
50%

Pages

Subscribe to PHP Micro-Optimizations RSS