Subj : Performance? To : netscape.public.mozilla.jseng From : Rickard Date : Wed Jun 18 2003 09:25 pm Hi! I'm using Rhino as a way to accomplish dynamic extensions (aka portlets) in our CMS, and also as a shell-type tool to access the system. Functionality wise everything is the way I want it to be, but the performance is a bit troubling. Most of the time we do 5-10 lines of code to get some data by calling services, then transforming it to be suitable for HTML output. What surprised me is that these small snippets can take about 100ms (and sometimes up to 500ms) to execute. I've tried all the usual suspects: doing a shared scope, calling setOptimizationLevel(9) (which made no difference at all), etc. My question is: Are there any known performance problems in Rhino? Are there any regressions in the latest version? (i.e. would trying an earlier version be a good idea?) And, are there any planned fixes for performance in the somewhat near future? I realize that for client-applications performance is maybe not so important, but when you use it the way we do it's very important. So, any ideas are welcome. regards, Rickard .