mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 13:00:57 +00:00
docs: Update performance.md (#188)
* docs: Update performance.md - add documentation about PGO usage for optimizing Rinja's performance
This commit is contained in:
parent
39b957a1b3
commit
08682a3133
@ -59,3 +59,7 @@ opt-level = 3
|
||||
|
||||
This may affect clean compile times in debug mode, but incremental compiles
|
||||
will be faster.
|
||||
|
||||
## Profile-Guided Optimization (PGO)
|
||||
|
||||
To optimize askama's performance, you can compile your application with [Profile-Guided Optimization](https://doc.rust-lang.org/rustc/profile-guided-optimization.html). According to the [tests](https://github.com/mitsuhiko/minijinja/pull/588#issuecomment-2387957123), PGO can improve the library performance by 15%.
|
||||
|
Loading…
x
Reference in New Issue
Block a user