🔊 Log Sone parsing time
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 29 Jul 2019 11:12:49 +0000 (13:12 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 29 Jul 2019 11:12:49 +0000 (13:12 +0200)
src/main/java/net/pterodactylus/sone/core/SoneParser.java

index d37c647..bd68095 100644 (file)
@@ -329,6 +329,7 @@ public class SoneParser {
                // record the duration
                stopwatch.stop();
                soneParsingDurationHistogram.update(stopwatch.elapsed(MICROSECONDS));
+               logger.fine(() -> "Parsed " + originalSone.getIdentity().getId() + "@" + originalSone.getLatestEdition() + " in " + stopwatch.elapsed(MICROSECONDS) + "μs.");
 
                return sone;