GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated test results
[svn/Cll1h/.git]
/
demos
/
performance
/
test-results
diff --git
a/demos/performance/test-results
b/demos/performance/test-results
index 07fcb55978849fee015cbd7fd5e708202971b790..ae344a736bfe550aca27662de843ee2b217da0c2 100644
(file)
--- a/
demos/performance/test-results
+++ b/
demos/performance/test-results
@@
-5,9
+5,9
@@
AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips
10000000.times { print "stuff","\n" }
Running...
10000000.times { print "stuff","\n" }
Running...
-real 0m
55.542
s
-user 0m
35.498
s
-sys 0m
2.264
s
+real 0m
31.160
s
+user 0m
29.546
s
+sys 0m
1.548
s
--------------------------------------------------- Python - range
#!/usr/bin/python
--------------------------------------------------- Python - range
#!/usr/bin/python
@@
-15,9
+15,9
@@
for i in range(1,10000000):
print "stuff"
Running...
print "stuff"
Running...
-real 0m
30.673
s
-user 0m1
9.113
s
-sys 0m0.
6
08s
+real 0m
18.386
s
+user 0m1
7.757
s
+sys 0m0.
3
08s
-------------------------------------------------- Python - xrange
#!/usr/bin/python
-------------------------------------------------- Python - xrange
#!/usr/bin/python
@@
-25,9
+25,9
@@
for i in xrange(1,10000000):
print "stuff"
Running...
print "stuff"
Running...
-real 0m
31.379
s
-user 0m1
9.581
s
-sys 0m0.
140
s
+real 0m
18.832
s
+user 0m1
8.805
s
+sys 0m0.
024
s
------------------------------------------------------------ PHP 5
#!/usr/bin/php5 -q
<?php
------------------------------------------------------------ PHP 5
#!/usr/bin/php5 -q
<?php
@@
-37,9
+37,9
@@
for ( $i=0; $i<10000000; $i++ )
}
?>
Running...
}
?>
Running...
-real 0m
36.65
2s
-user 0m
9.573
s
-sys 0m
5.000
s
+real 0m
10.83
2s
+user 0m
7.696
s
+sys 0m
2.544
s
-------------------------------------------------- C - gcc - write
#include <string.h>
-------------------------------------------------- C - gcc - write
#include <string.h>
@@
-57,13
+57,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m
2.029
s
-user 0m0.1
8
8s
-sys 0m0.0
80
s
+real 0m
0.911
s
+user 0m0.1
4
8s
+sys 0m0.0
36
s
Running...
Running...
-real 0m5.
983
s
-user 0m
1.52
4s
-sys 0m
2.592
s
+real 0m5.
809
s
+user 0m
2.16
4s
+sys 0m
3.648
s
------------------------------------------------------------- Perl
#!/usr/bin/perl
------------------------------------------------------------- Perl
#!/usr/bin/perl
@@
-74,9
+74,9
@@
for ($i=0;$i<10000000;$i++)
}
Running...
}
Running...
-real 0m
11.401
s
-user 0m
7.472
s
-sys 0m0.0
32
s
+real 0m
7.095
s
+user 0m
6.836
s
+sys 0m0.0
04
s
----------------------------------------------- C<<1 - gcc - print
#include "cll1.h"
----------------------------------------------- C<<1 - gcc - print
#include "cll1.h"
@@
-86,13
+86,13
@@
program
print("stuff");
}
Compiling...
print("stuff");
}
Compiling...
-real 0m
2.385
s
-user 0m0.
436
s
-sys 0m0.0
56
s
+real 0m
0.521
s
+user 0m0.
304
s
+sys 0m0.0
68
s
Running...
Running...
-real 0m
6.315
s
-user 0m2.
4
04s
-sys 0m0.0
2
4s
+real 0m
2.108
s
+user 0m2.
1
04s
+sys 0m0.0
0
4s
---------------------------------------------- C - g++ - std::cout
#include <iostream>
---------------------------------------------- C - g++ - std::cout
#include <iostream>
@@
-107,12
+107,12
@@
int main()
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m
6.245
s
-user 0m
1.128
s
-sys 0m0.
152
s
+real 0m
1.917
s
+user 0m
0.896
s
+sys 0m0.
084
s
Running...
Running...
-real 0m
3.563
s
-user 0m1.
876
s
+real 0m
1.694
s
+user 0m1.
680
s
sys 0m0.016s
----------------------------------------------- C<<1 - tcc - print
#include "cll1.h"
sys 0m0.016s
----------------------------------------------- C<<1 - tcc - print
#include "cll1.h"
@@
-123,13
+123,13
@@
program
print("stuff");
}
Compiling...
print("stuff");
}
Compiling...
-real 0m0.1
62
s
-user 0m0.0
24
s
+real 0m0.1
25
s
+user 0m0.0
16
s
sys 0m0.008s
Running...
sys 0m0.008s
Running...
-real 0m
4.658
s
-user 0m2.
496
s
-sys 0m0.00
8
s
+real 0m
2.884
s
+user 0m2.
884
s
+sys 0m0.00
0
s
------------------------------------------------- C - tcc - printf
#include <stdio.h>
------------------------------------------------- C - tcc - printf
#include <stdio.h>
@@
-144,12
+144,12
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.01
4
s
-user 0m0.0
12
s
-sys 0m0.00
0
s
+real 0m0.01
1
s
+user 0m0.0
04
s
+sys 0m0.00
4
s
Running...
Running...
-real 0m
3.011
s
-user 0m1.
916
s
+real 0m
1.734
s
+user 0m1.
732
s
sys 0m0.004s
------------------------------------------------ C<<1 - tcc - echo
#include "cll1.h"
sys 0m0.004s
------------------------------------------------ C<<1 - tcc - echo
#include "cll1.h"
@@
-161,13
+161,13
@@
program
echo("stuff\n");
}
Compiling...
echo("stuff\n");
}
Compiling...
-real 0m0.02
5
s
-user 0m0.0
20
s
+real 0m0.02
1
s
+user 0m0.0
16
s
sys 0m0.004s
Running...
sys 0m0.004s
Running...
-real 0m
2.341
s
-user 0m1.
44
0s
-sys 0m0.0
20
s
+real 0m
1.365
s
+user 0m1.
36
0s
+sys 0m0.0
04
s
--------------------------------------------------- C - tcc - puts
#include <stdio.h>
--------------------------------------------------- C - tcc - puts
#include <stdio.h>
@@
-182,13
+182,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.0
54
s
-user 0m0.0
08
s
-sys 0m0.00
4
s
+real 0m0.0
16
s
+user 0m0.0
12
s
+sys 0m0.00
0
s
Running...
Running...
-real 0m1.
956
s
-user 0m1.
216
s
-sys 0m0.0
12
s
+real 0m1.
115
s
+user 0m1.
108
s
+sys 0m0.0
08
s
------------------------------------------------- C - tcc - fwrite
#include <stdio.h>
#include <string.h>
------------------------------------------------- C - tcc - fwrite
#include <stdio.h>
#include <string.h>
@@
-207,13
+207,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.0
48
s
-user 0m0.00
8
s
-sys 0m0.00
4
s
+real 0m0.0
29
s
+user 0m0.00
4
s
+sys 0m0.00
8
s
Running...
Running...
-real 0m
2.003
s
-user 0m1.
132
s
-sys 0m0.0
12
s
+real 0m
1.025
s
+user 0m1.
020
s
+sys 0m0.0
04
s
-------------------------------------------------- C - tcc - fputs
#include <stdio.h>
-------------------------------------------------- C - tcc - fputs
#include <stdio.h>
@@
-228,13
+228,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.0
27
s
-user 0m0.0
12
s
-sys 0m0.00
4
s
+real 0m0.0
12
s
+user 0m0.0
04
s
+sys 0m0.00
8
s
Running...
Running...
-real 0m
2.016
s
-user 0m1.
21
2s
-sys 0m0.0
20
s
+real 0m
1.104
s
+user 0m1.
09
2s
+sys 0m0.0
12
s
------------------------------------------------ C<<1 - gcc - echo
#include "cll1.h"
------------------------------------------------ C<<1 - gcc - echo
#include "cll1.h"
@@
-245,13
+245,13
@@
program
echo("stuff\n");
}
Compiling...
echo("stuff\n");
}
Compiling...
-real 0m0.
891
s
-user 0m0.
424
s
+real 0m0.
362
s
+user 0m0.
320
s
sys 0m0.040s
Running...
sys 0m0.040s
Running...
-real 0m
2.317
s
-user 0m1.
340
s
-sys 0m0.0
20
s
+real 0m
1.230
s
+user 0m1.
228
s
+sys 0m0.0
04
s
------------------------------------------------- C - gcc - printf
#include <stdio.h>
------------------------------------------------- C - gcc - printf
#include <stdio.h>
@@
-266,13
+266,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
651
s
-user 0m0.1
8
8s
-sys 0m0.0
40
s
+real 0m0.
184
s
+user 0m0.1
4
8s
+sys 0m0.0
36
s
Running...
Running...
-real 0m
2.099
s
-user 0m1.
176
s
-sys 0m0.0
20
s
+real 0m
1.072
s
+user 0m1.
060
s
+sys 0m0.0
12
s
--------------------------------------------------- C - gcc - puts
#include <stdio.h>
--------------------------------------------------- C - gcc - puts
#include <stdio.h>
@@
-287,13
+287,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
574
s
-user 0m0.1
76
s
-sys 0m0.0
40
s
+real 0m0.
182
s
+user 0m0.1
52
s
+sys 0m0.0
32
s
Running...
Running...
-real 0m1.
640
s
-user 0m1.
196
s
-sys 0m0.00
8
s
+real 0m1.
075
s
+user 0m1.
072
s
+sys 0m0.00
0
s
------------------------------------------------- C - gcc - fwrite
#include <stdio.h>
#include <string.h>
------------------------------------------------- C - gcc - fwrite
#include <stdio.h>
#include <string.h>
@@
-312,13
+312,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
54
7s
-user 0m0.
220
s
-sys 0m0.0
20
s
+real 0m0.
19
7s
+user 0m0.
164
s
+sys 0m0.0
32
s
Running...
Running...
-real 0m
2.13
8s
-user 0m
1.072
s
-sys 0m0.0
08
s
+real 0m
0.96
8s
+user 0m
0.956
s
+sys 0m0.0
12
s
-------------------------------------------------- C - gcc - fputs
#include <stdio.h>
-------------------------------------------------- C - gcc - fputs
#include <stdio.h>
@@
-333,10
+333,10
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
319
s
-user 0m0.1
84
s
-sys 0m0.0
4
8s
+real 0m0.
183
s
+user 0m0.1
56
s
+sys 0m0.0
2
8s
Running...
Running...
-real 0m
2.01
0s
-user 0m
1.092
s
-sys 0m0.0
20
s
+real 0m
0.97
0s
+user 0m
0.964
s
+sys 0m0.0
08
s
This page took
0.236962 seconds
and
4
git commands to generate.