What is pench?

pench is a simple benchmark environment to test different php coding styles.

What does pench do?

pench runs through the different tests and shows you the results for each run.

What are the results of pench?

  • foreach($this->data as $key) is faster than while(list(,$val) = each($this->data)) (~40%)
  • pass by reference is SLOWER than copy!

Where can i test it?

You can test pench using this link: www.mjw.co.at/media/pench.php

Where can i get the souce?

If you are interessted in the source please write an email to mjw@mjw.co.at