void () { assertEquals(myCanonicalPath, FileUtil.toCanonicalPath(myTestPath)); PlatformTestUtil.startPerformanceTest("toCanonicalPath", 1_200, () -> { for (int i = 0; i < 1000000; ++i) { final String canonicalPath = FileUtil.toCanonicalPath(myTestPath, '/'); assert canonicalPath.length() == 18 : canonicalPath; } }).assertTiming(); }