File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dd-trace-core/src/jmh/java/datadog/trace/common/writer/ddagent Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public static final byte[] tagUtf8_nocache() {
7979 return tag .getBytes (StandardCharsets .UTF_8 );
8080 }
8181
82- static final SimpleUtf8Cache TAG_CACHE = new SimpleUtf8Cache ();
82+ static final SimpleUtf8Cache TAG_CACHE = new SimpleUtf8Cache (128 );
8383
8484 @ Benchmark
8585 public static final byte [] tagUtf8_w_cache () {
@@ -102,7 +102,7 @@ public static final void valueUtf8_baseline(Blackhole bh) {
102102 }
103103 }
104104
105- static final GenerationalUtf8Cache VALUE_CACHE = new GenerationalUtf8Cache (128 );
105+ static final GenerationalUtf8Cache VALUE_CACHE = new GenerationalUtf8Cache (64 , 128 );
106106
107107 @ Benchmark
108108 public static final void valueUtf8_cache_generational (Blackhole bh ) {
You can’t perform that action at this time.
0 commit comments