Package org.eclipse.jetty.util
Class StringReplaceBenchmark
- java.lang.Object
-
- org.eclipse.jetty.util.StringReplaceBenchmark
-
public class StringReplaceBenchmark extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StringReplaceBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
void
setupTrial()
void
testJavaStringReplaceGrowth(org.openjdk.jmh.infra.Blackhole blackhole)
void
testJavaStringReplaceReduce(org.openjdk.jmh.infra.Blackhole blackhole)
void
testJavaStringReplaceSame(org.openjdk.jmh.infra.Blackhole blackhole)
void
testJettyStringUtilReplaceGrowth(org.openjdk.jmh.infra.Blackhole blackhole)
void
testJettyStringUtilReplaceReduce(org.openjdk.jmh.infra.Blackhole blackhole)
void
testJettyStringUtilReplaceSame(org.openjdk.jmh.infra.Blackhole blackhole)
-
-
-
Method Detail
-
setupTrial
public void setupTrial() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testJavaStringReplaceGrowth
public void testJavaStringReplaceGrowth(org.openjdk.jmh.infra.Blackhole blackhole)
-
testJavaStringReplaceSame
public void testJavaStringReplaceSame(org.openjdk.jmh.infra.Blackhole blackhole)
-
testJavaStringReplaceReduce
public void testJavaStringReplaceReduce(org.openjdk.jmh.infra.Blackhole blackhole)
-
testJettyStringUtilReplaceGrowth
public void testJettyStringUtilReplaceGrowth(org.openjdk.jmh.infra.Blackhole blackhole)
-
testJettyStringUtilReplaceSame
public void testJettyStringUtilReplaceSame(org.openjdk.jmh.infra.Blackhole blackhole)
-
testJettyStringUtilReplaceReduce
public void testJettyStringUtilReplaceReduce(org.openjdk.jmh.infra.Blackhole blackhole)
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-