Re: [Modeling-users] RE: Lazy Initialization Part 2
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-14 12:24:53
|
Yannick Gingras <yan...@sa...> wrote: [...] > The I have detailed profiler logs :=20 >=20 > Thu Jul 10 17:21:24 2003 /tmp/@25817.0 >=20 > 1557967 function calls (1008710 primitive calls) in 39.780 CPU=20 > seconds >=20 > Ordered by: internal time >=20 > ncalls tottime percall cumtime percall filename:lineno(function) > 546199/5876 15.900 0.000 15.900 0.003=20 > /usr/lib/python2.2/site-packages/Modeling/QualifierParser.py:112(__str__) [...] Sorry, my fault. This was due to trace() statements causing an additional overhead even when tracing was disabled (because of the formatting of strings '%s',s). The patch can be downloaded at: https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D770906&group_= id=3D58935&atid=3D489337 On my machine I can observe a gain factor up to 7... (it is already integrated into the cvs main trunk, but since anonymous cvs and webcvs have a one day delay I thought you'd like to get it asap). -- S=E9bastien. |