Carles:<br>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?<br>

--<br>Vernon <br><br><div class="gmail_quote">On Wed, May 23, 2012 at 4:15 AM, Carles F. Julią <span dir="ltr">&lt;<a href="mailto:carles.fernandez@upf.edu" target="_blank">carles.fernandez@upf.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>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.</div>




<div><br></div><div>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?</div>




<div><br></div><div>Is there general performance problem with Ironpython?</div><div>My code uses C# delegates in python code and dynamic python objects in c# code; is that a bad idea?<br clear="all"><br><br>Thanks for your help!<span class="HOEnZb"><font color="#888888"><br clear="all">




Carles<br>
<br>
</font></span></div>
<br>_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">http://mail.python.org/mailman/listinfo/ironpython-users</a><br>
<br></blockquote></div><br>