Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PyPy benchmark
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joe Hillenbrand  
View profile  
 More options Oct 1 2012, 3:47 pm
From: Joe Hillenbrand <joehil...@gmail.com>
Date: Mon, 1 Oct 2012 12:47:41 -0700 (PDT)
Local: Mon, Oct 1 2012 3:47 pm
Subject: [Python Client] PyPy benchmark

I thought you guys might be interested in the benchmarking I did with PyPy
1.9. This is using Couchbase 2.0 beta on a 4 core, 1 GB RAM desktop VM.

*PyPy*
PythonMemcache
 Set data...
    cmds/sec: 13963.8015515
 Get data...
    cmds/sec: 14510.1441181
MemcachedClient
 Set data...
    cmds/sec: 1665.47185465
 Get data...
    cmds/sec: 2730.90764793
VBucketAwareClient
 Set data...
    cmds/sec: 2780.81998621
 Get data...
    cmds/sec: 2441.40494033
CouchbaseClient
 Set data...
    cmds/sec: 490.537448891
 Get data...
    cmds/sec: 482.249937762

Compared to a Cpython run on the same server.

*CPython 2.7*
PythonMemcache
 Set data...
    cmds/sec: 1235.09524185
 Get data...
    cmds/sec: 1240.61652836
MemcachedClient
 Set data...
    cmds/sec: 1752.96316862
 Get data...
    cmds/sec: 2100.30476749
VBucketAwareClient
 Set data...
    cmds/sec: 2160.82053381
 Get data...
    cmds/sec: 2116.85847056
CouchbaseClient
 Set data...
    cmds/sec: 508.925204624
 Get data...
    cmds/sec: 487.211121589

I suspect that the reason the PythonMemcache test is so much faster is
because it is pure python (CPython extension calls are slower in PyPy than
in CPython which can negate the performance increase,
http://doc.pypy.org/en/latest/faq.html#do-cpython-extension-modules-w...)
and doesn't do any threading (Threading hurts python performance because of
the GIL, http://dabeaz.blogspot.com/2010/01/python-gil-visualized.html).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »