[Checkins] SVN: z3c.pt/trunk/ Removed the forced defaultencoding from the benchmark suite. There's no speed difference between utf-8 and ascii anymore.

Hanno Schlichting plone at hannosch.info
Fri Nov 28 11:28:07 EST 2008


Log message for revision 93426:
  Removed the forced defaultencoding from the benchmark suite. There's no speed difference between utf-8 and ascii anymore.
  

Changed:
  U   z3c.pt/trunk/CHANGES.txt
  U   z3c.pt/trunk/benchmark/benchmark/tests.py

-=-
Modified: z3c.pt/trunk/CHANGES.txt
===================================================================
--- z3c.pt/trunk/CHANGES.txt	2008-11-28 16:25:08 UTC (rev 93425)
+++ z3c.pt/trunk/CHANGES.txt	2008-11-28 16:28:07 UTC (rev 93426)
@@ -4,6 +4,8 @@
 Head
 ~~~~
 
+- Removed the forced defaultencoding from the benchmark suite. [hannosch]
+
 Version 1.0b4 - November 19, 2008
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Modified: z3c.pt/trunk/benchmark/benchmark/tests.py
===================================================================
--- z3c.pt/trunk/benchmark/benchmark/tests.py	2008-11-28 16:25:08 UTC (rev 93425)
+++ z3c.pt/trunk/benchmark/benchmark/tests.py	2008-11-28 16:28:07 UTC (rev 93426)
@@ -3,9 +3,6 @@
 import time
 import sys
 
-reload(sys)
-sys.setdefaultencoding('utf-8')
-
 import zope.component.testing
 import zope.configuration.xmlconfig
 import zope.pagetemplate.pagetemplatefile



More information about the Checkins mailing list