On 25 Sep., 16:48, George Moschovitis <
george.moschovi...@gmail.com>
wrote:
> Switch optlevel to 9, yes.
> Also use production: true (disables module reloading etc)
>
> -g.
I would advice against setting optlevel to 9. There is very little
difference in speed between optlevel 0 and 9, and there's a somewhat
higher probability to stumble over obscure bugs (here are some rhino
bugs with optlevel > 0, most of which have been fixed:
http://bit.ly/c38SET)
For apps lower traffic that will often be spun down and restarted I
even recommend setting optlevel to -1, as this will significantly
reduce startup time. On top of that, this will reduce memory usage
which seems to cause apps to be left running for longer time when
idle.
I've also added this to our wiki page about google app engine:
http://ringojs.org/wiki/Google_App_Engine/
Hannes