• Post Reply Bookmark Topic Watch Topic
  • New Topic

Measuring CPU times of a JSF application  RSS feed

Matthieu Dubois
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Greetings !

I'm trying to gather CPU execution times for a JSF application without inserting statements in every backing bean or controller nor every JSP of the application.

A method to do so would be to add a PhaseListener and using beforePhase() and afterPhase(), I could calculate the elapsed time and CPU time... That's great, but the only problem is that I don't know what I'm measuring

I can get the viewRootId :

But there could be many paths that lead to this... and I don't know which one...

Is there any way to get the EL that was used, or the backing bean class and method called, ...? Or is there a completely different way to measure CPU times in a JSF application?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!