Hello,

playing around a bit with IronPython I noticed that the start-up time is
quite long

Something around ~12s for the initial launch and around ~3,5s for each
following
launch executing
----
   import sys
   sys.exit(0)
----
with IronPython-2.0A2\ipy.exe (on a Core Duo 2Ghz 2GB)

I am not complaining, just curious.
Is this simply because loading the CLR/DLR takes so much time?
And what is with the 3.5s for successive start-ups?

For comparison CPython needs ~2s for the initial and
~0.2s for successive start-ups.

Regards,
Claudius

Btw I used the simple C++ program
----
// Compile with
//    cl /Feuxtime.exe /EHsc uxtime.cpp
//
//    uxtime.exe "PATH_TO_IronPython\ipy.exe simplyExit.py"
//
#include <stdio.h>
#include <ctime>
#include <stdlib.h >

int main( int argc, char**argv)
{
   int c_start = clock();
   system( argv[1]);
   int c_end = clock();
   printf("%d\n", ((double)(c_end - c_start)) / CLOCKS_PER_SEC );
}
----
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to