void (@NotNull Topic<?> topic, @NotNull String messageName, @NotNull Object handler, long duration) { super.logMessageBusDelivery(topic, messageName, handler, duration); if (topic == ProjectManager.TOPIC) { long start = System.nanoTime() - duration; StartUpMeasurer.addCompletedActivity(start, handler.getClass(), ActivityCategory.PROJECT_OPEN_HANDLER, null, StartUpMeasurer.MEASURE_THRESHOLD); } else if (topic == VirtualFileManager.VFS_CHANGES) { if (TimeUnit.NANOSECONDS.toMillis(duration) > 50) { getLogger().info(String.format("LONG VFS PROCESSING. Topic=%s, offender=%s, message=%s, time=%dms", topic.getDisplayName(), handler.getClass(), messageName, TimeUnit.NANOSECONDS.toMillis(duration))); } } }