Open
Description
Hi!
Recently I did a lot of benchmarks for measuring Profile-Guided Optimization (PGO) effects on different projects (including some libraries) - the results are available here. So I decided to test PGO with tantivy
as well.
My test setup is a Macbook M1 Pro, macOS 13.4 Ventura. All tests are done on the same hardware. Rust version - 1.72. The PGO optimization is done with cargo-pgo. As a training and evaluation set, I use Tantiv benchmarks. The background load was kept the same (as much as I can guarantee on macOS, ofc). The results are the following (in the cargo bench
output format):
- Release: https://pastebin.com/dFk03qrT
- PGO optimized compared to Release: https://pastebin.com/VGfNCee0
- PGO Instrumented compared to Release (so you can evaluate how Tantivy is slow in the Instrumentation mode): https://pastebin.com/a006aHVZ
This information can be helpful:
- For the Tantivy users who want to optimize their applications
- For benchmark purposes as an additional way to extract more performance
Probably would be a good idea to mention PGO somewhere in the Tantivy documentation/README/Wiki .
Metadata
Metadata
Assignees
Labels
No labels