As Ajax is used for an increasing number of project 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 is that tool!
jsLex gives developers a complete picture of the performance issues with-in thier Ajax application. By auto injecting profiling code using jsLex ant task, don't need to modify their code to track down bottlenecks, minimizing coding erros.
Currently developers need to hand inject profiling code into their applicaiton. 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).
Example:
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." );
}
30 Day Summary May 10 2013 — Jun 9 2013
|
12 Month Summary Jun 9 2012 — Jun 9 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.