• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Measuring CPU times of a JSF application

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

Evacuate the building! Here, take this tiny ad with you:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic