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
#3 FINALY !!! objects-wiki.c compiles (with -Wall) and runs !
[svn/Cll1h/.git]
/
demos
/
performance
/
test-results2
diff --git
a/demos/performance/test-results2
b/demos/performance/test-results2
index 856ae896db015cbe13c24798bf06b98295e9373e..5d981a9374b5376a62bf5c6393b3a0f6a904e89c 100644
(file)
--- a/
demos/performance/test-results2
+++ b/
demos/performance/test-results2
@@
-5,9
+5,9
@@
AMD Athlon(tm) XP 1259.392 Mhz 2520.58 bogomips
10000000.times { print "stuff1"," ","stuff2","\n" }
Running...
10000000.times { print "stuff1"," ","stuff2","\n" }
Running...
-real
1m50.369
s
-user
1m0.120
s
-sys 0m
2.332
s
+real
0m50.940
s
+user
0m49.107
s
+sys 0m
1.836
s
--------------------------------------------------- Python - range
#!/usr/bin/python
--------------------------------------------------- Python - range
#!/usr/bin/python
@@
-16,9
+16,9
@@
for i in range(1,10000000):
print "stuff1","stuff2"
Running...
print "stuff1","stuff2"
Running...
-real 0m
54.919
s
-user 0m
30.274
s
-sys 0m0.
564
s
+real 0m
25.547
s
+user 0m
25.230
s
+sys 0m0.
320
s
-------------------------------------------------- Python - xrange
#!/usr/bin/python
-------------------------------------------------- Python - xrange
#!/usr/bin/python
@@
-27,9
+27,9
@@
for i in xrange(1,10000000):
print "stuff1","stuff2"
Running...
print "stuff1","stuff2"
Running...
-real 0m
50.106
s
-user 0m2
7.758
s
-sys 0m0.
13
6s
+real 0m
26.269
s
+user 0m2
6.254
s
+sys 0m0.
01
6s
------------------------------------------------------------ PHP 5
#!/usr/bin/php5 -q
------------------------------------------------------------ PHP 5
#!/usr/bin/php5 -q
@@
-40,9
+40,9
@@
for ( $i=0; $i<10000000; $i++ )
}
?>
Running...
}
?>
Running...
-real 0m
34.07
9s
-user 0m1
6.805
s
-sys 0m4.
916
s
+real 0m
18.64
9s
+user 0m1
4.449
s
+sys 0m4.
200
s
-------------------------------------------------- C - gcc - write
#include <string.h>
-------------------------------------------------- C - gcc - write
#include <string.h>
@@
-66,13
+66,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
494
s
-user 0m0.1
96
s
-sys 0m0.0
36
s
+real 0m0.
188
s
+user 0m0.1
64
s
+sys 0m0.0
24
s
Running...
Running...
-real
1m8.226
s
-user 0m7.
984
s
-sys 0m1
9.985
s
+real
0m21.353
s
+user 0m7.
572
s
+sys 0m1
3.781
s
---------------------------------------------- C - g++ - std::cout
#include <iostream>
---------------------------------------------- C - g++ - std::cout
#include <iostream>
@@
-87,13
+87,13
@@
int main()
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m
8.042
s
-user 0m
1.176
s
-sys 0m0.
132
s
+real 0m
0.986
s
+user 0m
0.904
s
+sys 0m0.
080
s
Running...
Running...
-real 0m
33.827
s
-user 0m1
1.369
s
-sys 0m
3.908
s
+real 0m
14.836
s
+user 0m1
0.425
s
+sys 0m
4.416
s
------------------------------------------------------------- Perl
#!/usr/bin/perl
------------------------------------------------------------- Perl
#!/usr/bin/perl
@@
-104,9
+104,9
@@
for ($i=0;$i<10000000;$i++)
print ("stuff1"," ","stuff2","\n");
}
Running...
print ("stuff1"," ","stuff2","\n");
}
Running...
-real 0m
29.584
s
-user 0m1
4.577
s
-sys 0m0.0
88
s
+real 0m
14.115
s
+user 0m1
3.005
s
+sys 0m0.0
12
s
------------------------------------------------- C - tcc - printf
#include <stdio.h>
------------------------------------------------- C - tcc - printf
#include <stdio.h>
@@
-122,13
+122,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.01
4
s
-user 0m0.00
4
s
-sys 0m0.00
8
s
+real 0m0.01
2
s
+user 0m0.00
8
s
+sys 0m0.00
4
s
Running...
Running...
-real 0m
11.628
s
-user 0m
5.564
s
-sys 0m0.0
64
s
+real 0m
4.987
s
+user 0m
4.856
s
+sys 0m0.0
32
s
------------------------------------------------- C - tcc - fwrite
#include <stdio.h>
------------------------------------------------- C - tcc - fwrite
#include <stdio.h>
@@
-154,12
+154,12
@@
int main (void)
}
Compiling...
real 0m0.017s
}
Compiling...
real 0m0.017s
-user 0m0.0
04
s
+user 0m0.0
12
s
sys 0m0.004s
Running...
sys 0m0.004s
Running...
-real 0m
8.379
s
-user 0m
4.004
s
-sys 0m0.0
36
s
+real 0m
3.678
s
+user 0m
3.672
s
+sys 0m0.0
04
s
----------------------------------------------- C<<1 - tcc - print
#include "cll1.h"
----------------------------------------------- C<<1 - tcc - print
#include "cll1.h"
@@
-170,13
+170,13
@@
program
print("stuff1","stuff2");
}
Compiling...
print("stuff1","stuff2");
}
Compiling...
-real 0m0.02
9
s
-user 0m0.0
24
s
-sys 0m0.00
0
s
+real 0m0.02
2
s
+user 0m0.0
16
s
+sys 0m0.00
4
s
Running...
Running...
-real 0m
16.690
s
-user 0m
6.224
s
-sys 0m0.0
40
s
+real 0m
4.853
s
+user 0m
4.836
s
+sys 0m0.0
16
s
-------------------------------------------------- C - tcc - fputs
#include <stdio.h>
-------------------------------------------------- C - tcc - fputs
#include <stdio.h>
@@
-194,13
+194,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.01
6
s
+real 0m0.01
2
s
user 0m0.008s
user 0m0.008s
-sys 0m0.00
8
s
+sys 0m0.00
4
s
Running...
Running...
-real 0m
8.072
s
-user 0m4.
608
s
-sys 0m0.0
68
s
+real 0m
4.065
s
+user 0m4.
040
s
+sys 0m0.0
24
s
------------------------------------------------- C - gcc - printf
#include <stdio.h>
------------------------------------------------- C - gcc - printf
#include <stdio.h>
@@
-216,13
+216,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
249
s
-user 0m0.1
96
s
+real 0m0.
180
s
+user 0m0.1
52
s
sys 0m0.028s
Running...
sys 0m0.028s
Running...
-real 0m
7.01
7s
-user 0m
5.368
s
-sys 0m0.02
8
s
+real 0m
4.87
7s
+user 0m
4.860
s
+sys 0m0.02
0
s
------------------------------------------------- C - gcc - fwrite
#include <stdio.h>
------------------------------------------------- C - gcc - fwrite
#include <stdio.h>
@@
-247,13
+247,13
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
417
s
-user 0m0.
21
6s
-sys 0m0.0
24
s
+real 0m0.
205
s
+user 0m0.
15
6s
+sys 0m0.0
48
s
Running...
Running...
-real 0m
5.814
s
-user 0m3.
96
0s
-sys 0m0.0
32
s
+real 0m
3.640
s
+user 0m3.
62
0s
+sys 0m0.0
20
s
----------------------------------------------- C<<1 - gcc - print
#include "cll1.h"
----------------------------------------------- C<<1 - gcc - print
#include "cll1.h"
@@
-264,13
+264,13
@@
program
print("stuff1","stuff2");
}
Compiling...
print("stuff1","stuff2");
}
Compiling...
-real 0m0.
579
s
-user 0m0.
412
s
-sys 0m0.0
56
s
+real 0m0.
378
s
+user 0m0.
336
s
+sys 0m0.0
40
s
Running...
Running...
-real 0m
6.531
s
-user 0m4.
896
s
-sys 0m0.0
5
2s
+real 0m
4.457
s
+user 0m4.
448
s
+sys 0m0.0
1
2s
-------------------------------------------------- C - gcc - fputs
#include <stdio.h>
-------------------------------------------------- C - gcc - fputs
#include <stdio.h>
@@
-288,10
+288,10
@@
int main (void)
return 0;
}
Compiling...
return 0;
}
Compiling...
-real 0m0.
261
s
-user 0m0.
200
s
-sys 0m0.0
4
0s
+real 0m0.
190
s
+user 0m0.
172
s
+sys 0m0.0
2
0s
Running...
Running...
-real 0m
3.59
6s
-user 0m2.
78
4s
-sys 0m0.0
28
s
+real 0m
2.55
6s
+user 0m2.
54
4s
+sys 0m0.0
12
s
This page took
0.202488 seconds
and
4
git commands to generate.