PiBench Output Parser
A simple parser to parse the text output from pibench.
Why
Current PiBench does not support json/csv output yet; it prints the output to stdout
and stderr
.
We sometimes need to process hundreds of such text files, thus need a programmatic way to extract the useful information.
Plan
- A shared library that can be called from Python. ✔️
- A Webassembly version to support pibench-online. ✔️
- Native rust version for pibench backend server. ✔️
Usage (Rust)
let data = from_text;
Work with Javascript/NodeJS
import from "pibench-parser";
const text = "YOUR PIBENCH RESULT";
const result = .;
Work with Python
=
=
=
return