part of benchmark_harness; | |
abstract class ScoreEmitter { | |
void emit(String testName, double value); | |
} | |
class PrintEmitter implements ScoreEmitter { | |
const PrintEmitter(); | |
void emit(String testName, double value) { | |
print("$testName(RunTime): $value us."); | |
} | |
} |