]> source.dussan.org Git - vaadin-framework.git/commitdiff
Increased logging to be able to see where time is spent
authorArtur Signell <artur@vaadin.com>
Wed, 4 Apr 2012 20:37:48 +0000 (23:37 +0300)
committerArtur Signell <artur@vaadin.com>
Wed, 4 Apr 2012 21:09:56 +0000 (00:09 +0300)
src/com/vaadin/terminal/gwt/client/ApplicationConnection.java

index 14e85f708ebbe132e7a48ad406b8b6e599fe4e1f..66cf07529dc4c69060f06f94c66049f998f70416 100644 (file)
@@ -946,6 +946,7 @@ public class ApplicationConnection {
         if (json.containsKey(UIDL_SECURITY_TOKEN_ID)) {
             uidlSecurityKey = json.getString(UIDL_SECURITY_TOKEN_ID);
         }
+        VConsole.log(" * Handling resources from server");
 
         if (json.containsKey("resources")) {
             ValueMap resources = json.getValueMap("resources");
@@ -956,11 +957,13 @@ public class ApplicationConnection {
                 resourcesMap.put(key, resources.getAsString(key));
             }
         }
+        VConsole.log("Handling type inheritance map from server");
 
         if (json.containsKey("typeInheritanceMap")) {
             configuration.addComponentInheritanceInfo(json
                     .getValueMap("typeInheritanceMap"));
         }
+        VConsole.log("Handling type mappings from server");
 
         if (json.containsKey("typeMappings")) {
             configuration.addComponentMappings(
@@ -969,6 +972,7 @@ public class ApplicationConnection {
 
         Command c = new Command() {
             public void execute() {
+                VConsole.log(" * Dumping UIDL");
                 VConsole.dirUIDL(json, configuration);
 
                 if (json.containsKey("locales")) {