ariatemplates/ariatemplates — pull request #136 by piuccio (2012-09-11 08:53:46+00:00)
Title: Bundle Analyzer

The bundle analyzer creates a report on the classes' usage inside bundles.

Packaging the framework in multipart files means grouping different classes in a single file (bundle) in order to reduce the network requests.
For the first load of an application it's important to keep the size of the bundle as small as possible, including only the classes needed to load the page.

This class analyses the bundle composition giving information on the number of downloaded files and the classes that are not needed inside each bundle.

The class can be used calling
````JavaScript
Aria.load({
classes : ['aria.ext.BundleAnalyzer'],
oncomplete : function () {
console.log(aria.ext.BundleAnalyzer.getReport());
}
});
````