Re: [Sqlalchemy-tickets] [sqlalchemy] #2720: new C extensions for attribute accessing
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2013-05-06 20:24:43
|
#2720: new C extensions for attribute accessing
-----------------------------------+---------------------------------------
Reporter: zzzeek | Owner: ged
Type: enhancement | Status: new
Priority: medium | Milestone: 0.9.0
Component: cextensions | Severity: very major - up to 2 days
Resolution: | Keywords:
Progress State: not decided upon |
-----------------------------------+---------------------------------------
Comment (by zzzeek):
Running this against 0.8, only one of the aaa_profiling tests falls out of
range here. Here's a summary of most of the ORM related profiling tests.
The orm_2010.py script has the best savings as it works with a large
number of objects. Overall these savings aren't too dramatic.
{{{
C extension, test_orm
Pstats calls: 16991
Pstats calls: 113793
Pstats calls: 19165
Pstats calls: 1190
Pstats calls: 122
Pstats calls: 18
no C extension, test_orm
Pstats calls: 17987
Pstats calls: 114819
Pstats calls: 19165
Pstats calls: 1190
Pstats calls: 122
Pstats calls: 18
C extension, zoomark_orm:
Pstats calls: 6140
Pstats calls: 390
Pstats calls: 6389
Pstats calls: 19003
Pstats calls: 1049
Pstats calls: 2671
no C extension: zoomark ORM
Pstats calls: 6104
Pstats calls: 390
Pstats calls: 6397
Pstats calls: 19024
Pstats calls: 1049
Pstats calls: 2668
C extension, orm_2010.py
Total calls 4055180
Total cpu seconds: 4.41
Total execute calls: 11201
Total executemany calls: 101
no C extension, orm_2010.py
Total calls 4137179
Total cpu seconds: 4.46
Total execute calls: 11201
Total executemany calls: 101
}}}
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2720#comment:1>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|