[IronPython] IronPython Start-up Time
C L
realn2s at googlemail.com
Tue Jul 17 11:09:48 CEST 2007
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 );
}
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070717/0a605636/attachment.html>
More information about the Ironpython-users
mailing list