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

Vernon Cole vernondcole at gmail.com
Wed May 23 15:44:38 CEST 2012


Carles:
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.  Can you provide a small example which
re-creates the problem?
--
Vernon

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

> Hi,
>
> I am working on a c# application that uses a series of python modules
> using IronPython. Such application is used in a real time interaction
> environment, and the python code is used to process some interaction events
> so performance is important in this aspect.
>
> I am having performance problems wen running code involving c# and python
> code, in some cases having lags of 1 second for code that in CPython runs
> in miliseconds. Are there some general directions on how to optimize
> ironpython integration with c# code, or how to track down this problem?
>
> Is there general performance problem with Ironpython?
> My code uses C# delegates in python code and dynamic python objects in c#
> code; is that a bad idea?
>
>
> Thanks for your help!
> Carles
>
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120523/3b5b8e56/attachment.html>


More information about the Ironpython-users mailing list