TRUE, FALSE and MAYBE
[svn/Cll1h/.git] / demos / performance / test-results
... / ...
CommitLineData
1#!/usr/bin/ruby
2
310000000.times { print "stuff","\n" }
4Running...0:16.66 total, 14.64 user, 1.70 sys
5
6#!/usr/bin/python
7
8for i in range(1,10000000):
9 print "stuff"
10
11Running...0:09.24 total, 8.48 user, 0.15 sys
12
13#!/usr/bin/python
14
15for i in xrange(1,10000000):
16 print "stuff"
17
18Running...0:08.31 total, 8.14 user, 0.01 sys
19
20#!/usr/bin/php5 -q
21<?php
22for ( $i=0; $i<10000000; $i++ )
23{
24 echo "stuff1\n";
25}
26?>
27Running...0:07.30 total, 4.92 user, 2.09 sys
28
29#!/usr/bin/perl
30
31my $i=0;
32for ($i=0;$i<10000000;$i++)
33{
34 print ("stuff");
35}
36
37Running...0:02.48 total, 2.48 user, 0.00 sys
38
39#include <iostream>
40
41#define RUNS 10000000UL
42int main()
43{
44 unsigned long i;
45 for (i=0;i<RUNS;i++) {
46 std::cout << "stuff\n";
47 }
48 return 0;
49}
50Compiling...0:00.37 total, 0.33 user, 0.04 sys
51Running...0:01.10 total, 1.05 user, 0.00 sys
52
53#include "cll1.h"
54
55program
56{
57 repeat(10000000)
58 print("stuff");
59}
60Compiling...0:00.09 total, 0.08 user, 0.01 sys
61Running...0:00.98 total, 0.91 user, 0.00 sys
62
63#include <stdio.h>
64
65#define RUNS 10000000UL
66int main (void)
67{
68unsigned long i;
69for (i=0;i<RUNS;i++) {
70printf("stuff\n");
71}
72return 0;
73}
74Compiling...0:00.07 total, 0.06 user, 0.01 sys
75Running...0:00.62 total, 0.62 user, 0.00 sys
76
77#include <stdio.h>
78
79#define RUNS 10000000UL
80int main (void)
81{
82unsigned long i;
83for (i=0;i<RUNS;i++) {
84puts("stuff");
85}
86return 0;
87}
88Compiling...0:00.06 total, 0.04 user, 0.01 sys
89Running...0:00.65 total, 0.62 user, 0.00 sys
90
91#include <stdio.h>
92
93#define RUNS 10000000UL
94int main (void)
95{
96unsigned long i;
97for (i=0;i<RUNS;i++) {
98fputs("stuff\n",stdout);
99}
100return 0;
101}
102Compiling...0:00.06 total, 0.05 user, 0.00 sys
103Running...0:00.55 total, 0.55 user, 0.00 sys
This page took 0.100239 seconds and 4 git commands to generate.