Performance Monitoring"

From Documentation
m
Line 1: Line 1:
 
{{ZKDevelopersReferencePageHeader}}
 
{{ZKDevelopersReferencePageHeader}}
  
To improve the performance of an Ajax application, it is better to monitor the performance for identifying the bottleneck.
+
__TOC__
  
 +
To improve the performance of an Ajax application, it is better to monitor the performance for identifying the bottleneck. Depending on the information you'd like to know, there are a few approaches.
 +
 +
* <javadoc type="interface">org.zkoss.zk.ui.util.PerformanceMeter</javadoc>: Monitoring the performance from network speed, server-processing time and the client-rendering time.
 +
* <javadoc type="interface">org.zkoss.zk.ui.util.EventInterceptor</javadoc>: Monitoring the performance of each event listener.
 +
* There are a lot of performance monitor tools, such as [https://visualvm.dev.java.net/ VisualVM] and [http://www.ej-technologies.com/products/jprofiler/overview.html JProfiler]. They could provide more insightful view of your application.
 +
 +
=Performance Meter=
 
[[Image:performancemeter.png]]
 
[[Image:performancemeter.png]]
 +
 +
=Event Interceptor=
 +
 +
=Further Reading=
 +
 +
For sample implementations, you might take a look at the following articles:
 +
 +
* [[Small Talks/2009/June/Performance Monitoring of ZK Applicaiton|Performance Monitoring of ZK Applicaiton]]
 +
* [[Small Talks/2010/January/A ZK Performance Monitor|A ZK Performance Monitor]]
 +
* [[Small Talks/2010/April/Real-time Performance Monitoring of Ajax Event Handlers|Real-time Performance Monitoring of Ajax Event Handlers]]
  
 
=Version History=
 
=Version History=

Revision as of 07:22, 29 November 2010


Performance Monitoring


To improve the performance of an Ajax application, it is better to monitor the performance for identifying the bottleneck. Depending on the information you'd like to know, there are a few approaches.

  • PerformanceMeter: Monitoring the performance from network speed, server-processing time and the client-rendering time.
  • EventInterceptor: Monitoring the performance of each event listener.
  • There are a lot of performance monitor tools, such as VisualVM and JProfiler. They could provide more insightful view of your application.

Performance Meter

Performancemeter.png

Event Interceptor

Further Reading

For sample implementations, you might take a look at the following articles:

Version History

Last Update : 2010/11/29


Version Date Content
     



Last Update : 2010/11/29

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.