[Checkins] SVN: z3c.pt/trunk/z3c/pt/BENCHMARKS.txt Benchmarks
should be based on an UTF-8 system.
Malthe Borch
mborch at gmail.com
Sat Feb 23 06:46:55 EST 2008
Log message for revision 84175:
Benchmarks should be based on an UTF-8 system.
Changed:
U z3c.pt/trunk/z3c/pt/BENCHMARKS.txt
-=-
Modified: z3c.pt/trunk/z3c/pt/BENCHMARKS.txt
===================================================================
--- z3c.pt/trunk/z3c/pt/BENCHMARKS.txt 2008-02-23 11:41:52 UTC (rev 84174)
+++ z3c.pt/trunk/z3c/pt/BENCHMARKS.txt 2008-02-23 11:46:55 UTC (rev 84175)
@@ -10,7 +10,7 @@
zope.pagetemplate z3c.pt pure python
Hello World 3.6 1 0.02
-1000 x 10 table 11.3 1 0.48
+1000 x 10 table 12.7* 1 0.53
There's a setup cost in using a template language which explains the
50x factor in the 'Hello World' benchmark versus a pure python
@@ -18,6 +18,10 @@
Certainly a specialized implementation will always be faster.
+*) This benchmark was made with the default encoding set to
+ UTF-8. There's a penalty of 10-15% when using an encoding that does
+ not coerce unicode gracefully to strings.
+
Benchmark source code
---------------------
More information about the Checkins
mailing list