Package org.eclipse.jetty.http.jmh
Class MultiPartBenchmark
- java.lang.Object
-
- org.eclipse.jetty.http.jmh.MultiPartBenchmark
-
public class MultiPartBenchmark extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiPartBenchmark.MultipartExpectations
static class
MultiPartBenchmark.NameValue
-
Field Summary
Fields Modifier and Type Field Description int
count
static java.util.List<java.lang.String>
data
static int
FILE_SIZE_THRESHOLD
static int
MAX_FILE_SIZE
static int
MAX_REQUEST_SIZE
static java.lang.String
parserType
-
Constructor Summary
Constructors Constructor Description MultiPartBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static void
setupTrial()
static void
stopTrial()
long
testLargeGenerated()
long
testParser()
-
-
-
Field Detail
-
MAX_FILE_SIZE
public static final int MAX_FILE_SIZE
- See Also:
- Constant Field Values
-
MAX_REQUEST_SIZE
public static final int MAX_REQUEST_SIZE
- See Also:
- Constant Field Values
-
FILE_SIZE_THRESHOLD
public static final int FILE_SIZE_THRESHOLD
- See Also:
- Constant Field Values
-
count
public int count
-
data
public static java.util.List<java.lang.String> data
-
parserType
public static java.lang.String parserType
-
-
Method Detail
-
setupTrial
public static void setupTrial() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testLargeGenerated
public long testLargeGenerated() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stopTrial
public static void stopTrial() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testParser
public long testParser() 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
-
-