Class ThreadPoolBenchmark
- java.lang.Object
-
- org.eclipse.jetty.util.thread.jmh.ThreadPoolBenchmark
-
public class ThreadPoolBenchmark extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThreadPoolBenchmark.Type
-
Constructor Summary
Constructors Constructor Description ThreadPoolBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildPool()
static void
main(java.lang.String[] args)
void
shutdownPool()
void
testFew()
void
testMany()
void
testSome()
-
-
-
Method Detail
-
buildPool
public void buildPool()
-
testFew
public void testFew() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testSome
public void testSome() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMany
public void testMany() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shutdownPool
public void shutdownPool()
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-