diff --git a/unicodetools/src/main/java/org/unicode/props/IndexUnicodeProperties.java b/unicodetools/src/main/java/org/unicode/props/IndexUnicodeProperties.java index 27bc6f857..f5d217cdb 100644 --- a/unicodetools/src/main/java/org/unicode/props/IndexUnicodeProperties.java +++ b/unicodetools/src/main/java/org/unicode/props/IndexUnicodeProperties.java @@ -682,6 +682,7 @@ protected UnicodeMap _getUnicodeMap() { if (prop == UcdProperty.Name || raw.containsValue("") || raw.containsValue("")) { + final long start = System.currentTimeMillis(); UnicodeMap newMap = new UnicodeMap<>(); for (UnicodeMap.EntryRange range : raw.entryRanges()) { if (range.codepoint == -1) { @@ -696,6 +697,13 @@ protected UnicodeMap _getUnicodeMap() { newMap.putAll(range.codepoint, range.codepointEnd, range.value); } } + final long stop = System.currentTimeMillis(); + final long Δt_in_ms = stop - start; + System.out.println("Built " + prop + " " + ucdVersion + " map in " + Δt_in_ms + " ms"); + if (Δt_in_ms > 500) { + new Throwable().printStackTrace(); + } + return newMap; } else { return raw;