From a2ec1f12910a39e3db437fcbc77d68cf5e6db6b9 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Sat, 13 Apr 2024 23:57:06 +0300 Subject: [PATCH] doc: add PGO information - add information about Profile-Guided Optimization (PGO) effects on the library performance --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 468b17b..a656007 100644 --- a/README.md +++ b/README.md @@ -173,4 +173,8 @@ byte | value | description ## MSRV -Requires rust >= 1.63 (debian stable) \ No newline at end of file +Requires rust >= 1.63 (debian stable) + +## Profile-Guided Optimization (PGO) + +According to the [tests](https://github.com/lovasoa/serde-sqlite-jsonb/discussions/1#discussion-6500343), PGO helps with achieving better performance - up to ~20% speed up. So if you want to optimize the library usage - consider enabling PGO for your application.