[Ironpython-users] Poor performance of a c# - Ironpython application

Jeff Hardy jdhardy at gmail.com
Wed May 23 18:12:30 CEST 2012


On Wed, May 23, 2012 at 9:07 AM, Carles F. Julià
<carles.fernandez at upf.edu>wrote:

> Thanks Vernon!
>
> Are these lags happening _when_ the .NET image is first started (from the
>> command shell) or _after_ it starts, during operation.  All .NET programs,
>> written in any language, seem to take forever to get started initially. A
>> lot of work has been done on IronPython to try to mitigate startup and
>> import time lags.  If the lags you are seeing are during a running image,
>> there is something else afoot here.
>
>
>  I amb having Huge lags when it runs the peace of code for the first time,
> after that the lag is not that big. But it still makes it pretty unusable
> for a real time interaction context.
>

My guess is that it's .NET's JIT compiler. How do you execute the scripts?
Are you compiling them and caching the results or re-executing them each
time?

- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120523/f3025dfe/attachment.html>


More information about the Ironpython-users mailing list