/pbrt-parsing-perf

Performance comparisons of PBRT parsers

Primary LanguageC++MIT LicenseMIT

pbrt-parsing-perf: Performance comparisons of PBRT parsers

This project provides a command line app which parses PBRT v3 files using several different parsing libraries and produces a report about how long each parser took. The performance report can be formatted as Markdown or CSV.

The parsers currently being tested are:

These are the only standalone C or C++ libraries for parsing PBRT files that I'm aware of. If you know of any others, please tell me - I'd love to include them.

See RESULTS.md for one (fairly large) set of results from running this tool.

The author of this tool is also the author of the minipbrt library. Every effort has been made to keep the performance comparisons as fair as possible, but the usage of minipbrt may be better optimised simply due to better familiarity. Any improvements to the code will be gratefully received!

The code for this performance testing tool uses the MIT license, but the parsing libraries it uses are each subject to their own licenses.