|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dynamic code compilation and compiler start-up timeHi there,
I need to use dynamic C# (but also JScript and maybe VB.NET) code compiling in the project I'm currently working on. Making some performance tests I noticed that if I compiler 10 times (one by one) the *same* code, the first compilation time is absolutely *longer* than the other nine. I suppose that the compiler, when it's dynamically called, needs some time to start-up, is it right? In my scenario I have a server application listening to some clients sending code to be compiled (and executed), so I'd like to keep the compiler "active" for all my execution time. Could anyone help me? Any link/suggestion/example would be appreciated. Thanks in advance, Giulio -- |
|||||||||||||||||||||||