From 326be286f93599bd24d038ae01ea89b724a541eb Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 4 Apr 2012 23:37:48 +0300 Subject: [PATCH] Increased logging to be able to see where time is spent --- src/com/vaadin/terminal/gwt/client/ApplicationConnection.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index 14e85f708e..66cf07529d 100644 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -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")) { -- 2.39.5