There is. You can set "NoAdaptiveCompilation" options on language setup when creating ScriptRuntime. Command line option is -X:NoAdaptiveCompilation. We'll also add "CompilationThreshold" option soon, which specifies the number of iterations before we start compiling.
Tomas -----Original Message----- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Martin Smith Sent: Tuesday, November 10, 2009 4:40 PM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Disable compilation of scripts Hello, A while back I watched Jimmy on C9 talking about how IronRuby had a hybrid approach to execution only jitting after a code path had been run a couple times. Is there any way to control this. I'd like to experiment with either (1) turning off compilation and (2) forcing immediate compilation. The scenario is that there are times when i might be able to get away with the "compilation penalty" and I'd like to play around with doing just that. Is there anywhere I can find information on how to do this with the DLR? Thanks, Martin _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core