I'm observing this behavior, when I run the same code for the second time with different parameters in webforms with IronPython, it runs quite faster. I thought first this had to do with asp.net temporary files, but when I restart the server it gets slow for the first time again. It's quite a code it has to run so it's reasonable, but it would be great if I could get the speed of the second exeucution. Now cPython comp开发者_高级运维iled the files into pycs files for them to run faster, and I was wondering what does IronPython do to run faster the code for the second time
is there anything I can do for the code to run at the speed execution of the second time, after I restart the server?
Greetings, Pablo
I do not do a lot of work with .NET or IronPython, so this might be widely off the mark, but why not just precompile your files using the aspnet_compiler.exe before you redeploy?
精彩评论