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
perforamnce test for printing one and two strings in C,C++,C<<1,Perl and Python
[svn/Cll1h/.git]
/
demos
/
performance
/
printf2.c
diff --git a/demos/performance/printf2.c
b/demos/performance/printf2.c
new file mode 100644
(file)
index 0000000..
5ee4fb2
--- /dev/null
+++ b/
demos/performance/printf2.c
@@ -0,0
+1,11
@@
+#include <stdio.h>
+
+#define RUNS 10000000UL
+int main (void)
+{
+ unsigned long i;
+ for (i=0;i<RUNS;i++) {
+ printf("%s %s\n","stuff2","stuff2");
+ }
+ return 0;
+}
This page took
0.135162 seconds
and
4
git commands to generate.