diff options
-rw-r--r-- | client/src/main/java/com/vaadin/client/Profiler.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/Profiler.java b/client/src/main/java/com/vaadin/client/Profiler.java index 290ec8a4a9..afc0096469 100644 --- a/client/src/main/java/com/vaadin/client/Profiler.java +++ b/client/src/main/java/com/vaadin/client/Profiler.java @@ -475,7 +475,13 @@ public class Profiler { Set<Node> extendedTimeNodes = new HashSet<>(); for (int i = 0; i < gwtStatsEvents.length(); i++) { GwtStatsEvent gwtStatsEvent = gwtStatsEvents.get(i); + if (!evtGroup.equals(gwtStatsEvent.getEvtGroup())) { + // Only log our own events to avoid problems with events which + // are not of type start+end + continue; + } String eventName = gwtStatsEvent.getEventName(); + String type = gwtStatsEvent.getType(); boolean isExtendedEvent = gwtStatsEvent.isExtendedEvent(); boolean isBeginEvent = "begin".equals(type); |