Skip to content

Use map from test case name to test case function #39

Description

@asqasq

CrailBenchmark and HdfsIOBenchmark should use a map from testnames (command line) to test case functions (see PR 35).

Example:
[...]
int locationClass = 0;
boolean useBuffered = true;

	String benchmarkTypes = "write|writeAsync|readSequential|readRandom|readSequentialAsync|readMultiStream|"
			+ "createFile|createFileAsync|createMultiFile|getKey|getFile|getFileAsync|getMultiFile"
			+ "getMultiFileAsync|enumerateDir|browseDir|"
			+ "writeInt|readInt|seekInt|readMultiStreamInt|printLocationclass";
	Option typeOption = Option.builder("t").desc("type of experiment [" + benchmarkTypes + "]").hasArg().build();
	Option fileOption = Option.builder("f").desc("filename").hasArg().build();

[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions