As Ajax is used for an increasing number of projects it is also being used in projects with larger and larger code base. When the code base of a project increases, chances are you will run into performance issues.
Working on the Apache XAP project and Nexaweb's Universal Client Framwework, which has a large code base, it became apparent that hand injection of profiling code only worked so well. A new technique was needed to make it possible to capture a complete view of the performance of an Ajax application in a similar way to using jProfile for Java code.
jsLex JavaScript Profiler is that tool!
- Go to the screen shots page to view screen shots of the application. Click Me!
jsLex gives developers a complete picture of the performance issues with-in their Ajax application. By auto injecting profiling code using jsLex ant task, developers don't need to modify their code to track down bottlenecks, minimizing coding errors and saving time.
Currently developers need to hand inject profiling code into their application. Though this can be easily done as in the example below. Such a technique offers limited information and requires the developer to know percisely where the problem is located. Otherwise developers need to modify their code over and over as the try to find the problem area(s).
function doLongTask(){
var start = new Date();
for (var index = 0; index < infinite; index++){
//Do something here
}
end = new Date();
alert ("doLongTask took " + (end - start) +
" milliseconds to complete." );
}
Works in all browsers
Because no plugin is required, jsLex will work in all browsers. Currently jsLex has been tested in Firefox, IE and Mozilla browsers on Windows.
Getting Started
To begin using the jsLex application go to the Download Page.




