Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including interpreters and compilers like Rustc, Clang, GCC, CPython, and many others) - the results are available here. So that's why I think it's worth trying to apply PGO to frawk.
I can suggest the following things to do:
- Evaluate PGO's applicability to frawk.
- If PGO helps to achieve better performance - add a note to frawk's documentation about that (probably somewhere in the README file). In this case, users and maintainers will be aware of another optimization opportunity for frawk.
- Provide PGO integration into the build scripts. It can help users and maintainers easily apply PGO for their own workloads.
Here are some examples of how PGO is already integrated into other projects' build scripts:
After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
For the Rust projects, I recommend starting with cargo-pgo for doing PGO optimizations.
Hi!
Recently I did many Profile-Guided Optimization (PGO) benchmarks on multiple projects (including interpreters and compilers like Rustc, Clang, GCC, CPython, and many others) - the results are available here. So that's why I think it's worth trying to apply PGO to frawk.
I can suggest the following things to do:
Here are some examples of how PGO is already integrated into other projects' build scripts:
configurescriptAfter PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
For the Rust projects, I recommend starting with cargo-pgo for doing PGO optimizations.