Why it is ~5 times slower to run the same .rb script from my .NET
application (using ScriptEngine and ScriptRuntime) classes, than doing
the
same with ir.exe?
When I downloaded IronRuby source, and compiled ir.exe (Ruby.Console),
it
was 2 times slower, than ir.exe in released binaries. (But still 3 times
faster than running scripts from my own application)
Can you give an example of what script it is and how you exactly run it
from the .NET app?
Tomas
From: removed_email_address@domain.invalid
[mailto:removed_email_address@domain.invalid] On Behalf Of Anton F.
Sent: Sunday, September 12, 2010 4:18 PM
To: removed_email_address@domain.invalid
Subject: [Ironruby-core] running ruby script from my own .NET code is
slow
Hi all!
Why it is ~5 times slower to run the same .rb script from my .NET
application (using ScriptEngine and ScriptRuntime) classes, than doing
the same with ir.exe?
When I downloaded IronRuby source, and compiled ir.exe (Ruby.Console),
it was 2 times slower, than ir.exe in released binaries. (But still 3
times faster than running scripts from my own application)