diff --git a/docs/extensions.md b/docs/extensions.md index b58fc777..1c5e89da 100644 --- a/docs/extensions.md +++ b/docs/extensions.md @@ -10,7 +10,7 @@ They typically parse the output generated by harnesses. ReBench currently provides builtin support for the following benchmark harnesses: - `JMH`: [JMH](http://openjdk.java.net/projects/code-tools/jmh/), Java's microbenchmark harness -- `PlainSecondsLog`: a plain seconds log, i.e., a floating point number per line +- `PlainSecondsLog`: a plain seconds log, i.e., a floating point number per line in seconds - `ReBenchLog`: the ReBench log format, which indicates benchmark name and run time in milliseconds or microseconds - `SavinaLog`: the harness of the [Savina](https://github.com/shamsimam/savina) benchmarks - `ValidationLog`: the format used by [SOMns](https://github.com/smarr/SOMns)'s ImpactHarness @@ -19,8 +19,8 @@ ReBench currently provides builtin support for the following benchmark harnesses ### `PlainSecondsLog` -This adapter attempts to read every line of program output as a millisecond -measurement. Lines which cannot be parsed as floats are skipped, e.g. `1.0` and +This adapter attempts to read every line of program output as measurement +in seconds. Lines which cannot be parsed as floats are skipped, e.g. `1.0` and ` 2 ` are valid, while `out: 1` and `1, 2, 3` are not and would be ignored. Example output from a harness or benchmark: diff --git a/rebench/interop/plain_seconds_log_adapter.py b/rebench/interop/plain_seconds_log_adapter.py index 2865b5b7..4356fab2 100644 --- a/rebench/interop/plain_seconds_log_adapter.py +++ b/rebench/interop/plain_seconds_log_adapter.py @@ -27,8 +27,8 @@ class PlainSecondsLogAdapter(GaugeAdapter): - """PlainSecondsLogAdapter expects a plain list of numbers, one per line. - It can also contain error information. + """PlainSecondsLogAdapter expects a plain list of numbers, one per line + in seconds. It can also contain error information. """ re_NPB_partial_invalid = re.compile(r".*Failed.*verification") re_NPB_invalid = re.compile(r".*Benchmark done.*verification failed")