[Ironpython-users] Startup performance
Slide
slide.o.mix at gmail.com
Fri Mar 16 17:12:23 CET 2012
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, <mchalkley at 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 at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users
>
--
Website: http://earl-of-code.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120316/23c35bbe/attachment.html>
More information about the Ironpython-users
mailing list