Skip to content

Instantly share code, notes, and snippets.

@mrkn
Created January 5, 2010 16:02
Show Gist options
  • Save mrkn/269476 to your computer and use it in GitHub Desktop.
Save mrkn/269476 to your computer and use it in GitHub Desktop.
$ ruby -v bench.rb
ruby 1.9.2dev (2010-01-05 trunk 26241) [x86_64-darwin10.2.0]
Content-Type: text/html
Result:500000500000<br>
Sec:0.058694
$ php -v
PHP 5.3.0 (cli) (built: Jul 19 2009 00:34:29)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
$ php bench.php
Result:500000500000<br>
Start:1262707160.1463<br>
End:1262707160.2551<br>
Use:0.10876893997192<br>
$ python --version
Python 2.6.1
$ python bench.py
Content-type: text/plain; charset=iso-8859-1
Hello World
Start: 1262707306.85
End: 1262707307.25
Time: 0.395227909088
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment