1 ------------------------------------------------------------- Ruby
4 10000000.times { print "stuff","\n" }
10 --------------------------------------------------- Python - range
13 for i in range(1,10000000):
20 -------------------------------------------------- Python - xrange
23 for i in xrange(1,10000000):
30 ------------------------------------------------------------ PHP 5
33 for ( $i=0; $i<10000000; $i++ )
42 -------------------------------------------------- C - gcc - write
45 #define RUNS 10000000UL
66 ------------------------------------------------------------- Perl
70 for ($i=0;$i<10000000;$i++)
79 ----------------------------------------------- C<<1 - gcc - print
95 ---------------------------------------------- C - g++ - std::cout
98 #define RUNS 10000000UL
104 std::cout << "stuff\n";
116 -----------------------------------------------= C<<1 - gcc - echo
122 for_range(i,1,10000000)
133 ------------------------------------------------- C - gcc - printf
136 #define RUNS 10000000UL
154 --------------------------------------------------- C - gcc - puts
157 #define RUNS 10000000UL
175 ------------------------------------------------- C - gcc - fwrite
179 #define RUNS 10000000UL
188 fwrite(s1,l1,1,stdout);
200 -------------------------------------------------- C - gcc - fputs
203 #define RUNS 10000000UL
209 fputs("stuff\n",stdout);