summaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/Vaadin.gwt.xml
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-02-12 12:20:29 +0200
committerLeif Åstrand <leif@vaadin.com>2013-02-13 10:02:16 +0200
commit34096d1784c1d5e0624d016363d4191451c4f6e9 (patch)
tree9e1777bc6a72a0dad7c575fd1d0d68e939577b15 /client/src/com/vaadin/Vaadin.gwt.xml
parentbe11c6dbbf6d9731fbdeb124116bada5fae6bc89 (diff)
downloadvaadin-framework-34096d1784c1d5e0624d016363d4191451c4f6e9.tar.gz
vaadin-framework-34096d1784c1d5e0624d016363d4191451c4f6e9.zip
Add lightweight profiling (#10961)
Also remove most of the timing information that was previously logged Change-Id: I8269036a12762eb63f7d4f93aefb6be307dd620a
Diffstat (limited to 'client/src/com/vaadin/Vaadin.gwt.xml')
-rw-r--r--client/src/com/vaadin/Vaadin.gwt.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/com/vaadin/Vaadin.gwt.xml b/client/src/com/vaadin/Vaadin.gwt.xml
index f7d1cf8410..dcc5b0d294 100644
--- a/client/src/com/vaadin/Vaadin.gwt.xml
+++ b/client/src/com/vaadin/Vaadin.gwt.xml
@@ -38,6 +38,15 @@
<when-type-assignable
class="com.vaadin.client.metadata.ConnectorBundleLoader" />
</generate-with>
+
+ <!-- Set vaadin.profiler to true to include profiling support in the module -->
+ <define-property name="vaadin.profiler" values="true,false" />
+ <set-property name="vaadin.profiler" value="false" />
+
+ <replace-with class="com.vaadin.client.Profiler.EnabledProfiler">
+ <when-type-is class="com.vaadin.client.Profiler" />
+ <when-property-is name="vaadin.profiler" value="true" />
+ </replace-with>
<!-- Use the new cross site linker to get a nocache.js without document.write -->
<add-linker name="xsiframe" />