Title: Re: [Ironpython-users] Startup performance
It's MUCH faster - seems to be about 5x faster, as an average, over 5 runs...

Mark


Friday, March 16, 2012, 12:12:23 PM, you wrote:


How long does it take if you run in script form? Just wondering for comparison.

slide

On Fri, Mar 16, 2012 at 8:55 AM, <
mchalk...@mail.com> wrote:
Since the question of performance with regard to zipimport was just
raised, it prompted me to ask a related question.

I have a script that I've compiled to an console app exe, which
retrieves some data from an SQL db, does quite a bit of simple
analysis and produces some files containing the resuts. It's used by 6
other people and they've all commented on the fact that it takes
almost 10 seconds (usually) to display its first message (which is a
"print 'Loading...'" statement that is the first non-comment line in
the script, to test this very issue), but usually 2 seconds or less to
retrieve 4,000 records, process them, and create the output files.

Since the print statement I refer to happens before first import, or
anything else, for that matter, I'm just curious if anyone has any
observations on this. Are there any techniques to reduce this time?

Thanks,

Mark




_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users



-- 
Website: 
http://earl-of-code.com
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to