Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Orbeon Forms Java stack traces are very long. Does that mean that performance is necessarily bad?

0
Posted

Orbeon Forms Java stack traces are very long. Does that mean that performance is necessarily bad?

0

Java stack traces are indeed very long in Orbeon Forms. This is due mainly to the nature of XPL pipelines, which are implemented on top of the event-based SAX API.In reality you cannot make any reasonable conclusion about performance just by looking at the length of a typical stack trace: you would have in addition to that to look at the pattern of execution of those methods. For example, if every top-level method call was going through, say, 300 levels of method calls, this would likely be an issue, but it is not the case in Orbeon Forms. The bottom line is that no, the length of a stack trace does not directly correlate with poor performance.To reach valid conclusions about performance, run a tool like Apache JMeter on your application.

0

Java stack traces are indeed very long in Orbeon Forms. This is due mainly to the nature of XPL pipelines, which are implemented on top of the event-based SAX API. In reality you cannot make any reasonable conclusion about performance just by looking at the length of a typical stack trace: you would have in addition to that to look at the pattern of execution of those methods. For example, if every top-level method call was going through, say, 300 levels of method calls, this would likely be an issue, but it is not the case in Orbeon Forms. The bottom line is that no, the length of a stack trace does not directly correlate with poor performance. To reach valid conclusions about performance, run a tool like Apache JMeter on your application.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123