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 classMultiPartBenchmark.MultipartExpectationsstatic classMultiPartBenchmark.NameValue
-
Field Summary
Fields Modifier and Type Field Description intcountstatic java.util.List<java.lang.String>datastatic intFILE_SIZE_THRESHOLDstatic intMAX_FILE_SIZEstatic intMAX_REQUEST_SIZEstatic java.lang.StringparserType
-
Constructor Summary
Constructors Constructor Description MultiPartBenchmark()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static voidsetupTrial()static voidstopTrial()longtestLargeGenerated()longtestParser()
-
-
-
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
-
-