XML processing performance issue in high concurrency scenarios #101
Labels
E4X
Issues related to the (deprecated) ECMAScript for XML (E4X/ECMA-357) standard
Performance
Issues related to the performance of the Rhino engine
Using Rhino in a high concurrency situation with JavaScript that contains XML markup (I believe it's called E4X, or ECMAScript) seems to be affected by a hard-coded resource pool due to 26ee7ee
Sample E4X Script:
In our test environment we got multiple thread with the following stack-trace:
Which caused the CPU to be under-utilized at 33%.
Since there's no way of knowing exactly how Rhino will be used I suggest letting the developer configure the size of this pool (or providing other methods to control this bottleneck).
The text was updated successfully, but these errors were encountered: