Philippe Riand has contributed a new project to OpenNTF: XPages Toolbox.

The XPages Toolbox is a set of web based tools for the XPages developer. It can be used to optimize and debug XPages applications. It currently features the following modules:
1) CPU profiler
2) Backend classes profiler
3) Memory profiler
4) Runtime monitoring
5) Java logging groups management

Here is the project, here the documentation and here the direct download.



1) CPU profiler
The CPU profiler is a high level profiler recording the XPages activity and gathering the time spent in the different parts of the XPages (JSF lifecycle,JavaScript code, custom code...).

See here for a screenshot.

2) Backend classes profiler
This module gathers, per request, how the backend classes are being called and the time spent in each call. It only measures the wall time.

See here for a screenshot.

3) Memory profiler
Runtime monitoring is used to grab a high level view of the memory being used by the JVM., as well as the number of active modules (NSFs) and sessions.

See here for a screenshot.

4) Runtime monitoring
The memory profiler is used to show the memory being used by the XPages runtime, categorized by applications (NSFs) and opened sessions. At anytime, a snapshot of the memory being used can be taken.

See here for a screenshot.

5) Java logging groups management
XPages is taking advantage of the Java Logging API to trace what is happening in the runtime.

See here for a screenshot.

comments powered byDisqus