Skip to content

How to add a new benchmark

QianHao Dong edited this page Sep 1, 2014 · 10 revisions

We assume that the user knows how to run the benchmark with tachyon-perf.

To add a new benchmark, the basic requisite is to extend tachyon.perf.basic.PerfTask and tachyon.perf.basic.TaskContext, then modify the configuration files. Optionally, you can implement tachyon.perf.basic.Supervisible or extend tachyon.perf.basic.PerfTotalReport to make more tools supported.

We recommend that all your own classes in a new package tachyon.perf.benchmark.<YourTaskType>.

Necessary steps

Extend PerfTask

Extend TaskContext

Add configurations

Optional steps

Implement Supervisible

Extend PerfTotalReport

Clone this wiki locally