From ecaa3bc40c71e305aabc2e15498cc6f4d20c47a7 Mon Sep 17 00:00:00 2001 From: Dominic Fellbaum Date: Fri, 17 Nov 2023 14:09:53 +0100 Subject: [PATCH] java --- lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java b/lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java index eaabcc6..c6dd323 100644 --- a/lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java +++ b/lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java @@ -64,6 +64,11 @@ public static void main(String[] args) throws Exception { //@BenchmarkMode(Mode.AverageTime) //@Warmup(iterations = 1) public String replaceAllEmojis() { + EmojiManager.replaceAllEmojis(TEXT, ""); + EmojiManager.replaceAllEmojis(TEXT, ""); + EmojiManager.replaceAllEmojis(TEXT, ""); + EmojiManager.replaceAllEmojis(TEXT, ""); + EmojiManager.replaceAllEmojis(TEXT, ""); return EmojiManager.replaceAllEmojis(TEXT, ""); } /*