# How to use -X:SaveAssemblies, etc.?

**URL:** <https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135>\
**Category:** IronRuby\
**Created:** [April 22, 2009, 6:08am UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135 "2009-04-22T06:08:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtphysguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/77aa72/32.png) [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Post date:** [April 22, 2009, 6:08am UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135/1 "2009-04-22T06:08:15Z")

</div>

Greetings!

Getting into using IronRuby for some command line stuff, and the startup  
time on ir.exe is killing me. The command line options hint that I can  
save/reuse assemblies - is that true? Specifically:

- What does -X:SaveAssemblies do?
- What is the effect of -X:Interpret?
- What is the -load option for?

Thanks in advance!

Justin

---

<div class="post-metadata">

**Author:** ![vtphysguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/77aa72/32.png) [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Post date:** [April 22, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135/2 "2009-04-22T17:31:03Z")

</div>

Anyone? Please?

---

<div class="post-metadata">

**Author:** ![vtphysguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/77aa72/32.png) [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Post date:** [April 22, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135/3 "2009-04-22T17:56:27Z")

</div>

Excellent, thank you!

On Wed, Apr 22, 2009 at 8:43 AM, Tomas M. \<

---

<div class="post-metadata">

**Author:** ![vtphysguy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/77aa72/32.png) [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Post date:** [April 22, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/how-to-use-x-saveassemblies-etc/166135/4 "2009-04-22T17:47:01Z")

</div>

-X:SaveAssemblies, -save and -load are experimental/for compiler  
debugging only.  
-X:Interpret runs in interpreted mode, which makes loading libraries  
much faster but throughput is worse.

We are working on adaptive compilation so that -X:Interpret won’t be  
necessary.

Tomas

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Justin B.  
Sent: Wednesday, April 22, 2009 8:20 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] How to use -X:SaveAssemblies, etc.?

Anyone? Please?  
On Tue, Apr 21, 2009 at 4:13 PM, Justin B.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
Greetings!

Getting into using IronRuby for some command line stuff, and the startup  
time on ir.exe is killing me. The command line options hint that I can  
save/reuse assemblies - is that true? Specifically:

- What does -X:SaveAssemblies do?
- What is the effect of -X:Interpret?
- What is the -load option for?

Thanks in advance!

Justin
