diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-02-12 12:20:29 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-02-13 10:02:16 +0200 |
commit | 34096d1784c1d5e0624d016363d4191451c4f6e9 (patch) | |
tree | 9e1777bc6a72a0dad7c575fd1d0d68e939577b15 /client/src/com/vaadin/Vaadin.gwt.xml | |
parent | be11c6dbbf6d9731fbdeb124116bada5fae6bc89 (diff) | |
download | vaadin-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.xml | 9 |
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" /> |