public class EncodedSeekPerformanceTest extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NUMBER_OF_SEEKS
Default number of seeks which will be used in benchmark.
|
Constructor and Description |
---|
EncodedSeekPerformanceTest()
Use this benchmark with default options
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Command line interface:
|
void |
runTests(Path path,
DataBlockEncoding[] encodings) |
public static int DEFAULT_NUMBER_OF_SEEKS
public EncodedSeekPerformanceTest()
public void runTests(Path path, DataBlockEncoding[] encodings) throws IOException
path
- Path to the HFile which will be used.encoders
- List of encoders which will be used for tests.IOException
- if there is a bug while reading from diskpublic static void main(String[] args) throws IOException
args
- Takes one argument - file size.IOException
- if there is a bug while reading from disk