<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 26/02/2010 16:46, Ken MacDonald wrote:
<blockquote
 cite="mid:3468cae11002260846w7db22691k626da174298759c2@mail.gmail.com"
 type="cite">Hi, <br>
I have inherited an IP project. Customer is complaining that startup
time with no apparent progress takes quite a while, and would like
something to happen prior to the time that the login screen finally
appears. I have a splash screen, and have set it to splash prior to the
login screen, now something appears at about ~~ 12 sec. rather than
~~15 sec. for the login screen, but is still kind of a long wait. I've
tried moving the splash screen earlier, but it dies of missing
resources; not sure just what. I'm wondering if there is a way of
defining a really minimal splash screen that requires next to nothing
to start up, and getting it to pop up in maybe 3 or 4 sec.?<br>
</blockquote>
We achieved this at Resolver Systems by embedding IronPython in a very
simple C# executable (actually not so simple because it also does
single instance remoting but that isn't relevant to this question). The
exe displays the splash screen and then starts IronPython using the
hosting API.<br>
<br>
Almost all the startup time (which has improved dramatically with
recent releases) is Python imports - so we have a parallel import
system that allows us to post updates to the progress bar as the
imports complete. Kamil released this code as open source:<br>
<br>
&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://github.com/luntain/ipy-parallel-import">http://github.com/luntain/ipy-parallel-import</a><br>
<br>
On the other hand, putting the splash screen first in your IronPython
code (before significant imports) should enable it to be displayed in
under 3 seconds - so if that is currently failing you should be able to
make it work by debugging the issue. There is no reason this approach
fundamentally can't work.<br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<br>
<blockquote
 cite="mid:3468cae11002260846w7db22691k626da174298759c2@mail.gmail.com"
 type="cite">Ken<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.ironpythoninaction.com/">http://www.ironpythoninaction.com/</a>
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/blog">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (&#8221;BOGUS AGREEMENTS&#8221;) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

</pre>
</body>
</html>