File tree Expand file tree Collapse file tree
internal-api/src/jmh/java/datadog/trace/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package datadog .trace .util ;
22
3+ import de .thetaphi .forbiddenapis .SuppressForbidden ;
34import java .util .regex .Pattern ;
45import org .openjdk .jmh .annotations .Benchmark ;
56import org .openjdk .jmh .annotations .Fork ;
3031@ Warmup (iterations = 2 )
3132@ Measurement (iterations = 3 )
3233@ Threads (8 )
34+ @ SuppressForbidden
3335public class StringReplacementBenchmark {
3436 static final String [] INPUTS = {
3537 "foo" ,
Original file line number Diff line number Diff line change 11package datadog .trace .util ;
22
3+ import de .thetaphi .forbiddenapis .SuppressForbidden ;
34import java .util .regex .Pattern ;
45import org .openjdk .jmh .annotations .Benchmark ;
56import org .openjdk .jmh .annotations .Fork ;
4142@ Measurement (iterations = 3 )
4243@ Threads (8 )
4344@ State (Scope .Benchmark )
45+ @ SuppressForbidden
4446public class StringSplitBenchmark {
4547 public enum TestString {
4648 EMPTY ("" ),
You can’t perform that action at this time.
0 commit comments