void () { List<LinkInfo> expected = List.of(new FileLinkInfo(7, 30, "/home/file.txt", 3, 1), new FileLinkInfo(34, 62, "/home/result.txt", 3, 30)); PlatformTestUtil.startPerformanceTest("Find file hyperlinks", 3000, () -> { for (int i = 0; i < 100_000; i++) { Filter.Result result = applyFilter("before file:///home/file.txt:3 -> file:///home/result.txt:3:30 after"); assertHyperlinks(result, expected); } }).assertTiming(); }