Re: [Zope-dev] PyPy 1.4.1 and the ZTK

2010-12-23 Thread Marius Gedminas
On Wed, Dec 22, 2010 at 03:56:11PM -0500, Chris McDonough wrote:
 On Wed, 2010-12-22 at 09:43 -0500, Jim Fulton wrote:
   This makes it possible to start testing some of the ZTK with PyPy. There
   are challenges of course: certain packages, such as zope.interface, use
   C extensions and would need to be installed in plain-python mode (if
   available).
 
  It is available. The setup script could, presumably, detect if it is running
  under PyPy and not even try building extensions.
 
 It already does.  zope.interface falls back to using its Python
 implementation if it's installed on a platform that doesn't support C
 compilation.  As does zope.i18nmessageid.

Incidentally, PyPy has some source-level support for C extensions:
http://morepypy.blogspot.com/2010/04/using-cpython-extension-modules-with.html

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] PyPy 1.4.1 and the ZTK

2010-12-23 Thread Martijn Faassen
Hi there,

On 12/22/2010 09:56 PM, Chris McDonough wrote:

 FWIW, for our web stuff I've found PyPy to be about 3X as slow as
 CPython (even allowing for the JIT to warm up).  But the elephant
 dances!

Any clue what's taking up the time? Do you think it's simply that it 
doesn't speed up zope.interface to the level of the C version?

I vaguely recall something about PyPy's JIT not being good with 
interpreter-style patterns in code - so that might slow down things if 
templating is involved.

Regards,

Martijn

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Zope Tests: 29 OK, 1 Unknown

2010-12-23 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Wed Dec 22 12:00:00 2010 UTC to Thu Dec 23 12:00:00 2010 UTC.
There were 30 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 8 from 
ccomb at free.fr, 10 from jdriessen at thehealthagency.com.


Unknown
---

Subject: UNKNOWN : Zope-2.12-alltests Python-2.6.5 : Linux
From: Zope Tests
Date: Thu Dec 23 01:07:31 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027248.html


Tests passed OK
---

Subject: OK : Zope Buildbot / zope2.12-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:36:27 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027223.html

Subject: OK : Zope Buildbot / zope2.13-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:38:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027224.html

Subject: OK : Zope Buildbot / zope2.13-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:39:31 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027225.html

Subject: OK : Zope Buildbot / zope2.14-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:41:04 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027226.html

Subject: OK : Zope Buildbot / zope2.14-py2.7 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:42:29 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027227.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.4 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:48:43 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027228.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.5 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 09:55:11 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027229.html

Subject: OK : Zope Buildbot / zopetoolkit-1.0-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 10:02:06 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027230.html

Subject: OK : Zope Buildbot / zopetoolkit-py2.5 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 10:07:05 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027231.html

Subject: OK : Zope Buildbot / zopetoolkit-py2.6 slave-ubuntu32
From: jdriessen at thehealthagency.com
Date: Wed Dec 22 10:12:08 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027232.html

Subject: OK : Zope 3.4 Known Good Set / py2.4-64bit-linux
From: buildbot at pov.lt
Date: Wed Dec 22 21:11:07 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027233.html

Subject: OK : Zope 3.4 Known Good Set / py2.4-32bit-linux
From: buildbot at pov.lt
Date: Wed Dec 22 21:58:02 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027234.html

Subject: OK : Bluebream / Python2.4.6 64bit linux
From: ccomb at free.fr
Date: Wed Dec 22 22:07:01 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027235.html

Subject: OK : Bluebream / Python2.6.5 64bit linux
From: ccomb at free.fr
Date: Wed Dec 22 22:07:04 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027236.html

Subject: OK : Bluebream / Python2.5.5 64bit linux
From: ccomb at free.fr
Date: Wed Dec 22 22:07:06 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027237.html

Subject: OK : ZTK 1.0dev / Python2.4.6 Linux 64bit
From: ccomb at free.fr
Date: Wed Dec 22 22:07:11 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027238.html

Subject: OK : ZTK 1.0dev / Python2.6.5 Linux 64bit
From: ccomb at free.fr
Date: Wed Dec 22 22:07:49 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027239.html

Subject: OK : ZTK 1.0dev / Python2.5.5 Linux 64bit
From: ccomb at free.fr
Date: Wed Dec 22 22:07:58 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027240.html

Subject: OK : Zope 3.4 Known Good Set / py2.5-64bit-linux
From: buildbot at pov.lt
Date: Wed Dec 22 22:11:14 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027241.html

Subject: OK : Zope 3.4 Known Good Set / py2.5-32bit-linux
From: buildbot at pov.lt
Date: Wed Dec 22 23:00:33 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027242.html

Subject: OK : Zope 3.4 KGS / Python2.4.6 64bit linux
From: ccomb at free.fr
Date: Thu Dec 23 00:21:06 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027243.html

Subject: OK : Zope 3.4 KGS / Python2.5.5 64bit linux
From: ccomb at free.fr
Date: Thu Dec 23 00:42:27 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027244.html

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Thu Dec 23 01:01:31 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027245.html

Re: [Zope-dev] PyPy 1.4.1 and the ZTK

2010-12-23 Thread Tim Hoffman

 I vaguely recall something about PyPy's JIT not being good with
 interpreter-style patterns in code - so that might slow down things if
 templating is involved.


That would suggest the precompiling chameleon templates to .pt.py
would give a better performance for templates ;-)

 Regards,

 Martijn

 ___
 Zope-Dev maillist  -  zope-...@zope.org
 https://mail.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Zope Tests: 29 OK, 1 Unknown

2010-12-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/23/2010 06:58 AM, Zope Tests Summarizer wrote:
 Summary of messages to the zope-tests list.
 Period Wed Dec 22 12:00:00 2010 UTC to Thu Dec 23 12:00:00 2010 UTC.
 There were 30 messages: 8 from Zope Tests, 4 from buildbot at pov.lt, 8 from 
 ccomb at free.fr, 10 from jdriessen at thehealthagency.com.
 
 
 Unknown
 ---
 
 Subject: UNKNOWN : Zope-2.12-alltests Python-2.6.5 : Linux
 From: Zope Tests
 Date: Thu Dec 23 01:07:31 EST 2010
 URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027248.html

We're really close to all green here:  down to one networing failure
during buildout:

  Running /usr/local/python2.6/bin/python bootstrap.py
 Traceback (most recent call last):
   File bootstrap.py, line 74, in module
 exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
  ...
  urllib2.URLError: urlopen error [Errno 113] No route to host


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0TUYAACgkQ+gerLs4ltQ5MjACguOi9hakxe7oKeDvAF0coqVlW
Y+4An1vH5QKUWhWZxOljIUNa5OC2SKiE
=BS/o
-END PGP SIGNATURE-

___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )