Prelude XML Parser
Deserialize Prelude EDC native XML files into Rust structs. Enabling the python feature allows
deserializing to Python classes with PyO3.
Supported native files
- Subject native XML
- Site Native XML
- User Native XML
Benchmarks
Benchmarks are run with criterion and cover all three
parsers, in both their _string and _file forms, across a range of input sizes. Inputs are
generated at run time by replicating the fixtures in tests/assets/, so no extra setup is needed:
An HTML report is written to target/criterion/report/index.html.
For a faster measurement that stops as soon as the significance level is reached (~20s instead of several minutes):
To only check that the benchmarks still run, without measuring anything:
To additionally benchmark against a real subject native export, point BENCH_XML_FILE at it:
BENCH_XML_FILE=/path/to/subject_native.xml