Skip to content

Instantly share code, notes, and snippets.

@karptonite
Created July 25, 2015 21:00
Show Gist options
  • Save karptonite/eda9980850b141d1040d to your computer and use it in GitHub Desktop.
Save karptonite/eda9980850b141d1040d to your computer and use it in GitHub Desktop.
<?php
3
2 $start = microtime( true );
1
5 $script = 'roman-numerals.php';
1 require( $script );
2 for( $i = 1; $i <= 3000; $i++ )
3 {
4 toRoman( $i );
5 }
6
7 echo microtime( true ) - $start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment