Changeset [ae734f79da140f0f561f9c6f39b7964d5a487a23] by Fabrice Luraine
Revision ae734f79da140f0f561f9c6f39b7964d5a487a23,
committed by Fabrice Luraine
· May 30th, 2011 @ 05:03 PM
Fix fatal error if memory_get_usage() isn't available. Now benchmark() only return execution time in this case.
memory_get_usage() might be unavailable before PHP5.2.1 if PHP
wasn't compiled with option --enable-memory-limit.
Add tests to control benchmark() return.
https://github.com/sofadesign/limonade/commit/ae734f79da140f0f561f9...
2 changed files
-
M
lib/limonade.php -
M
tests/main.php