Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
felldo committed Nov 19, 2023
1 parent 57b294a commit 8aec61e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/jmh/java/benchmark/EmojiManagerBenchmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ public String replaceAllEmojis() {
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");
EmojiManager.replaceAllEmojis(TEXT+TEXT, "<replaced emoji>");

return EmojiManager.replaceAllEmojis(TEXT, "<replaced emoji>");
}
Expand Down

1 comment on commit 8aec61e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 0.01.

Benchmark suite Current: 8aec61e Previous: d9a8026 Ratio
benchmark.EmojiManagerAliasBenchmark.getByAlias ( {"alias":":+1:"} ) 135.80433739108284 ns/op 122.36872280075578 ns/op 1.11
benchmark.EmojiManagerAliasBenchmark.getByAlias ( {"alias":"nope"} ) 149.0550225602061 ns/op 152.4841864606537 ns/op 0.98
benchmark.EmojiManagerBenchmark.containsEmoji 3.1172584112149533 ms/op 3.9617769881422924 ms/op 0.79
benchmark.EmojiManagerBenchmark.extractEmojisInOrder 3.3237649867109633 ms/op 3.2772637352941176 ms/op 1.01
benchmark.EmojiManagerBenchmark.extractEmojisInOrderOnlyEmojisLengthDescending 23.39768811627907 ms/op 22.37387 ms/op 1.05
benchmark.EmojiManagerBenchmark.extractEmojisInOrderOnlyEmojisRandomOrder 25.147329675 ms/op 24.845792365853658 ms/op 1.01
benchmark.EmojiManagerBenchmark.removeAllEmojis 4.606143651376147 ms/op 4.607602981651376 ms/op 1.00
benchmark.EmojiManagerBenchmark.replaceAllEmojis 375.7778763333333 ms/op 4.642609157407407 ms/op 80.94
benchmark.EmojiManagerBenchmark.replaceAllEmojisFunction 4.79124514354067 ms/op 4.9541678316831685 ms/op 0.97

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.