Subj : Re: Can I have more than one runtime to facilitate multiple threads? To : netscape.public.mozilla.jseng From : davisc@iivip.com (Chris Davis) Date : Wed Jul 02 2003 12:38 pm Brendan Eich wrote: > JS_BeginRequest and JS_EndRequest can be amortized over enough cycles in > typical embeddings, that the overhead in those two API calls is in the > noise. Batching up API calls and executing as many as do not block in a > single request is a good idea. This makes sense. Sadly, I am integrating a piece of 3rd party software that did not do this. Pretty much it was one API call at a time and not easy to change. I went to a one runtime per thread model like we had discussed. That did not seem to buy anything noticeable like you had warned. I uncovered some bottlenecks elsewhere in its use of JS and that has me "over the hump" now and my original performance problem has gone away. Thanks for everything. .