facelift, reordered results
[svn/Cll1h/.git] / demos / performance / test-results
CommitLineData
b84246fd 1#!/usr/bin/ruby
2
310000000.times { print "stuff","\n" }
283bc497 4Running...0:16.51 total, 14.79 user, 1.51 sys, 0 KB average size
5
b836e242 6#!/usr/bin/python
81088cec 7
8for i in range(1,10000000):
9 print "stuff"
10
283bc497 11Running...0:09.04 total, 8.58 user, 0.20 sys, 0 KB average size
12
72c9d7a0 13#!/usr/bin/python
14
15for i in xrange(1,10000000):
16 print "stuff"
17
283bc497 18Running...0:08.22 total, 8.15 user, 0.00 sys, 0 KB average size
19
ba41861f 20#!/usr/bin/php5 -q
21<?php
22for ( $i=0; $i<10000000; $i++ )
23{
24 echo "stuff1\n";
25}
26?>
283bc497 27Running...0:07.13 total, 5.00 user, 2.10 sys, 0 KB average size
28
ba41861f 29#!/usr/bin/perl
30
31my $i=0;
32for ($i=0;$i<10000000;$i++)
33{
34 print ("stuff");
35}
36
283bc497 37Running...0:02.52 total, 2.50 user, 0.00 sys, 0 KB average size
38
d8394559 39#include <iostream>
40
41#define RUNS 10000000UL
42int main()
43{
44 unsigned long i;
45 for (i=0;i<RUNS;i++) {
7150dd0b 46 std::cout << "stuff\n";
d8394559 47 }
48 return 0;
49}
283bc497 50Compiling...0:00.37 total, 0.32 user, 0.04 sys, 0 KB average size
51Running...0:01.00 total, 1.00 user, 0.00 sys, 0 KB average size
52
81088cec 53#include "cll1.h"
54
55program
56{
57 repeat(10000000)
58 print("stuff");
59}
283bc497 60Compiling...0:00.09 total, 0.07 user, 0.02 sys, 0 KB average size
61Running...0:00.88 total, 0.88 user, 0.00 sys, 0 KB average size
62
81088cec 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}
283bc497 74Compiling...0:00.05 total, 0.04 user, 0.00 sys, 0 KB average size
75Running...0:00.67 total, 0.65 user, 0.02 sys, 0 KB average size
76
81088cec 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}
283bc497 88Compiling...0:00.09 total, 0.06 user, 0.02 sys, 0 KB average size
89Running...0:00.62 total, 0.62 user, 0.00 sys, 0 KB average size
90
81088cec 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}
283bc497 102Compiling...0:00.06 total, 0.05 user, 0.00 sys, 0 KB average size
103Running...0:00.55 total, 0.55 user, 0.00 sys, 0 KB average size
This page took 0.313188 seconds and 4 git commands to generate.