Class EWYKBenchmark
- java.lang.Object
-
- org.eclipse.jetty.util.thread.strategy.jmh.EWYKBenchmark
-
public class EWYKBenchmark extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EWYKBenchmark.ThreadState
-
Field Summary
Fields Modifier and Type Field Description static boolean
nonBlocking
static boolean
sleeping
static java.lang.String
strategyName
-
Constructor Summary
Constructors Constructor Description EWYKBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static void
setupServer()
static void
stopServer()
long
testStrategy(EWYKBenchmark.ThreadState state)
-
-
-
Method Detail
-
setupServer
public static void setupServer() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stopServer
public static void stopServer() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testStrategy
public long testStrategy(EWYKBenchmark.ThreadState state) throws java.lang.Exception
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws org.openjdk.jmh.runner.RunnerException
- Throws:
org.openjdk.jmh.runner.RunnerException
-
-