Created
April 5, 2011 09:59
-
-
Save xsultan/903369 to your computer and use it in GitHub Desktop.
RE : gist: 900008
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sultans-MacBook-Pro:Desktop x21$ time ruby foo.rb >/dev/null | |
real 0m0.135s | |
user 0m0.130s | |
sys 0m0.004s | |
Sultans-MacBook-Pro:Desktop x21$ time php foo.php >/dev/null | |
real 0m0.129s | |
user 0m0.061s | |
sys 0m0.064s | |
<? | |
$message = 'Hello world'; | |
for($i=0;$i<100000;$i++) | |
echo "<html><body>$message</body></html>"; | |
?> | |
Ruby is amazing :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sultans-MacBook-Pro:Desktop x21$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
Sultans-MacBook-Pro:Desktop x21$ php -v
PHP 5.3.4 (cli) (built: Dec 15 2010 12:15:07)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies