crail icon indicating copy to clipboard operation
crail copied to clipboard

Use map from test case name to test case function

Open asqasq opened this issue 7 years ago • 0 comments

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();

[...]

asqasq avatar Dec 13 '17 21:12 asqasq