Skip to content

Profile-Guided Optimization (PGO) evaluation results #2163

Open
@zamazan4ik

Description

@zamazan4ik

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):

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions