Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: upgrade compress package test and benchmark. #2009

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

siddhant2001
Copy link
Contributor

@siddhant2001 siddhant2001 commented Sep 25, 2023

Rebased #1880 to the current main. Benchmarking in progress.

benchstat comparison of all benchmarks with and without the upgraded compress package.:

goos: linux
goarch: amd64
pkg: github.com/dgraph-io/badger/v4
cpu: AMD Ryzen 7 6800H with Radeon Graphics
                                      │ without_s2.txt  │               with_s2.txt                │
                                      │     sec/op      │     sec/op       vs base                 │
DbGrowth-16                               3.486 ±   ∞ ¹     3.829 ±   ∞ ¹        ~ (p=1.000 n=1) ²
IteratePrefixSingleKey/Key_lookups-16    59.02µ ±  3%      58.56µ ±  2%          ~ (p=0.240 n=6)
ReadWrite/0.1,0064-16                    1.545µ ±  6%      1.477µ ± 17%          ~ (p=0.394 n=6)
ReadWrite/0.2,0064-16                    1.617µ ± 11%      1.471µ ±  6%          ~ (p=0.065 n=6)
ReadWrite/0.5,0064-16                    1.433µ ±  5%      1.422µ ±  3%          ~ (p=0.394 n=6)
ReadWrite/1.0,0064-16                    1.255µ ± 21%      1.276µ ±  7%          ~ (p=0.818 n=6)
ReadWrite/0.1,0128-16                    1.732µ ± 12%      1.684µ ±  4%          ~ (p=0.394 n=6)
ReadWrite/0.2,0128-16                    1.657µ ± 18%      1.637µ ±  5%          ~ (p=0.509 n=6)
ReadWrite/0.5,0128-16                    1.544µ ±  6%      1.595µ ±  2%          ~ (p=0.180 n=6)
ReadWrite/1.0,0128-16                    1.471µ ±  9%      1.580µ ± 22%     +7.41% (p=0.026 n=6)
ReadWrite/0.1,0256-16                    1.861µ ±  4%      1.897µ ± 12%     +1.96% (p=0.009 n=6)
ReadWrite/0.2,0256-16                    1.884µ ±  9%      2.038µ ±  9%          ~ (p=0.132 n=6)
ReadWrite/0.5,0256-16                    1.989µ ± 16%      1.944µ ± 18%          ~ (p=0.818 n=6)
ReadWrite/1.0,0256-16                    1.847µ ±  6%      2.040µ ± 23%    +10.45% (p=0.002 n=6)
ReadWrite/0.1,0512-16                    2.292µ ±  5%      2.483µ ± 13%          ~ (p=0.132 n=6)
ReadWrite/0.2,0512-16                    2.272µ ±  5%      2.500µ ± 20%    +10.06% (p=0.009 n=6)
ReadWrite/0.5,0512-16                    2.427µ ±  8%      2.787µ ± 14%    +14.81% (p=0.041 n=6)
ReadWrite/1.0,0512-16                    2.711µ ±  9%      2.914µ ± 16%     +7.51% (p=0.026 n=6)
ReadWrite/0.1,1024-16                    3.144µ ±  3%      3.618µ ±  8%    +15.09% (p=0.002 n=6)
ReadWrite/0.2,1024-16                    3.302µ ±  2%      3.984µ ±  9%    +20.67% (p=0.002 n=6)
ReadWrite/0.5,1024-16                    3.659µ ±  4%      4.482µ ±  5%    +22.50% (p=0.002 n=6)
ReadWrite/1.0,1024-16                    4.058µ ±  2%      5.020µ ± 10%    +23.72% (p=0.002 n=6)
ReadWrite/0.1,2048-16                    5.361µ ± 51%      5.913µ ± 20%          ~ (p=0.180 n=6)
ReadWrite/0.2,2048-16                    5.433µ ±  8%      6.210µ ± 17%    +14.28% (p=0.041 n=6)
ReadWrite/0.5,2048-16                    5.786µ ±  4%      7.123µ ± 17%    +23.10% (p=0.002 n=6)
ReadWrite/1.0,2048-16                    7.514µ ± 15%      8.859µ ± 14%    +17.91% (p=0.009 n=6)
ReadWrite/0.1,4096-16                    8.634µ ± 48%      9.986µ ± 15%          ~ (p=0.065 n=6)
ReadWrite/0.2,4096-16                    9.165µ ± 10%     10.957µ ±  9%    +19.55% (p=0.009 n=6)
ReadWrite/0.5,4096-16                    11.59µ ± 10%      12.36µ ± 10%          ~ (p=0.132 n=6)
ReadWrite/1.0,4096-16                    13.20µ ±  7%      16.00µ ± 12%    +21.18% (p=0.004 n=6)
ReadWrite/0.1,8192-16                    15.19µ ±  4%      16.53µ ± 17%     +8.83% (p=0.002 n=6)
ReadWrite/0.2,8192-16                    17.01µ ± 29%      20.09µ ± 15%          ~ (p=0.065 n=6)
ReadWrite/0.5,8192-16                    20.85µ ±  9%      23.59µ ± 12%    +13.13% (p=0.041 n=6)
ReadWrite/1.0,8192-16                    30.35µ ± 11%      31.33µ ± 18%          ~ (p=0.937 n=6)
ReadWrite/0.1,16384-16                   35.34µ ±  8%      33.31µ ± 13%          ~ (p=0.180 n=6)
ReadWrite/0.2,16384-16                   40.23µ ±  6%      36.56µ ± 16%          ~ (p=0.180 n=6)
ReadWrite/0.5,16384-16                   52.58µ ±  7%      42.01µ ±  6%    -20.11% (p=0.002 n=6)
ReadWrite/1.0,16384-16                  176.05µ ± 59%      56.74µ ± 11%    -67.77% (p=0.002 n=6)
geomean                                  7.909µ            8.207µ           +3.76%
¹ need >= 6 samples for confidence interval at level 0.95
² need >= 4 samples to detect a difference at alpha level 0.05

pkg: github.com/dgraph-io/badger/v4/skl
                    │ without_s2.txt │            with_s2.txt             │
                    │     sec/op     │    sec/op     vs base              │
ReadWrite/frac_0-16      310.4n ± 2%   306.6n ±  3%       ~ (p=0.132 n=6)
ReadWrite/frac_1-16      289.9n ± 4%   287.9n ±  8%       ~ (p=0.509 n=6)
ReadWrite/frac_2-16      273.0n ± 3%   273.1n ±  2%       ~ (p=0.818 n=6)
ReadWrite/frac_3-16      256.1n ± 1%   257.8n ±  1%       ~ (p=0.288 n=6)
ReadWrite/frac_4-16      239.8n ± 2%   242.2n ± 12%       ~ (p=0.329 n=6)
ReadWrite/frac_5-16      218.7n ± 4%   232.5n ±  5%  +6.33% (p=0.045 n=6)
ReadWrite/frac_6-16      200.7n ± 1%   220.3n ±  9%  +9.77% (p=0.032 n=6)
ReadWrite/frac_7-16      176.5n ± 3%   184.6n ±  8%       ~ (p=0.310 n=6)
ReadWrite/frac_8-16      154.6n ± 5%   154.8n ±  8%       ~ (p=0.623 n=6)
ReadWrite/frac_9-16      120.1n ± 5%   117.5n ±  8%       ~ (p=0.589 n=6)
geomean                  215.6n        219.4n        +1.78%

pkg: github.com/dgraph-io/badger/v4/table
                                     │ without_s2.txt │             with_s2.txt             │
                                     │     sec/op     │    sec/op     vs base               │
Builder/no_compression-16                136.2m ±  6%   137.7m ±  5%        ~ (p=0.699 n=6)
Builder/encryption-16                    183.9m ±  9%   180.9m ±  4%        ~ (p=0.394 n=6)
Builder/zstd_compression/level_1-16      173.2m ±  2%   172.0m ±  3%        ~ (p=0.699 n=6)
Builder/zstd_compression/level_3-16      172.1m ±  5%   171.4m ±  4%        ~ (p=0.699 n=6)
Builder/zstd_compression/level_15-16     171.6m ±  2%   170.4m ±  3%        ~ (p=0.818 n=6)
Read-16                                  519.8m ± 11%   403.1m ± 24%  -22.45% (p=0.002 n=6)
ReadAndBuild-16                           1.474 ±  4%    1.353 ±  5%   -8.21% (p=0.002 n=6)
ReadMerged-16                            851.5m ±  3%   721.2m ±  6%  -15.31% (p=0.002 n=6)
Checksum/CRC_1024-16                     66.03n ±  5%   64.64n ±  4%        ~ (p=0.310 n=6)
Checksum/xxHash64_1024-16                64.70n ±  2%   64.23n ±  7%        ~ (p=0.310 n=6)
Checksum/SHA256_1024-16                  513.0n ±  1%   522.9n ±  1%   +1.94% (p=0.004 n=6)
Checksum/CRC_2048-16                     121.0n ±  2%   123.2n ±  2%   +1.73% (p=0.045 n=6)
Checksum/xxHash64_2048-16                123.6n ±  2%   124.7n ±  1%        ~ (p=0.147 n=6)
Checksum/SHA256_2048-16                  960.4n ±  1%   970.2n ±  2%   +1.03% (p=0.015 n=6)
Checksum/CRC_4096-16                     241.5n ±  2%   240.3n ±  4%        ~ (p=0.900 n=6)
Checksum/xxHash64_4096-16                244.5n ±  2%   251.9n ±  2%   +3.07% (p=0.004 n=6)
Checksum/SHA256_4096-16                  1.864µ ±  2%   1.884µ ±  1%        ~ (p=0.310 n=6)
Checksum/CRC_8192-16                     477.5n ±  1%   496.3n ±  4%   +3.95% (p=0.026 n=6)
Checksum/xxHash64_8192-16                475.7n ±  2%   486.3n ±  2%   +2.25% (p=0.015 n=6)
Checksum/SHA256_8192-16                  3.674µ ±  1%   3.700µ ±  1%        ~ (p=0.065 n=6)
Checksum/CRC_16384-16                    943.1n ±  3%   965.2n ±  3%        ~ (p=0.093 n=6)
Checksum/xxHash64_16384-16               946.1n ±  2%   954.3n ±  1%        ~ (p=0.093 n=6)
Checksum/SHA256_16384-16                 7.260µ ±  1%   7.351µ ±  1%        ~ (p=0.065 n=6)
Checksum/CRC_32768-16                    1.878µ ±  2%   1.877µ ±  3%        ~ (p=0.970 n=6)
Checksum/xxHash64_32768-16               1.870µ ±  1%   1.899µ ±  2%   +1.58% (p=0.009 n=6)
Checksum/SHA256_32768-16                 14.74µ ±  5%   14.66µ ±  1%        ~ (p=0.589 n=6)
Checksum/CRC_65536-16                    3.807µ ±  2%   3.785µ ±  2%        ~ (p=0.333 n=6)
Checksum/xxHash64_65536-16               3.943µ ±  5%   3.825µ ±  3%        ~ (p=0.240 n=6)
Checksum/SHA256_65536-16                 29.64µ ±  1%   29.03µ ±  2%        ~ (p=0.065 n=6)
Checksum/CRC_131072-16                   7.564µ ±  5%   7.612µ ±  3%        ~ (p=0.699 n=6)
Checksum/xxHash64_131072-16              7.521µ ±  3%   7.595µ ±  1%        ~ (p=0.093 n=6)
Checksum/SHA256_131072-16                58.56µ ±  4%   58.02µ ±  1%        ~ (p=0.093 n=6)
Checksum/CRC_262144-16                   15.31µ ±  3%   15.06µ ±  2%   -1.63% (p=0.030 n=6)
Checksum/xxHash64_262144-16              16.43µ ±  6%   15.16µ ±  1%   -7.77% (p=0.002 n=6)
Checksum/SHA256_262144-16                120.6µ ±  1%   116.8µ ±  1%   -3.16% (p=0.002 n=6)
Checksum/CRC_1048576-16                  62.68µ ± 13%   60.48µ ±  2%   -3.50% (p=0.004 n=6)
Checksum/xxHash64_1048576-16             61.77µ ±  1%   61.50µ ±  2%        ~ (p=0.589 n=6)
Checksum/SHA256_1048576-16               468.9µ ±  2%   471.8µ ±  1%        ~ (p=0.240 n=6)
RandomRead-16                            20.49µ ±  8%   14.98µ ±  4%  -26.90% (p=0.002 n=6)
Builder/snappy_compression-16                           157.2m ±  6%
geomean                                  32.82µ         39.69µ         -2.21%

                                     │ without_s2.txt │            with_s2.txt             │
                                     │      B/s       │     B/s       vs base              │
Builder/no_compression-16                582.4Mi ± 5%   576.3Mi ± 5%       ~ (p=0.699 n=6)
Builder/encryption-16                    431.5Mi ± 8%   438.7Mi ± 4%       ~ (p=0.394 n=6)
Builder/zstd_compression/level_1-16      458.2Mi ± 2%   461.4Mi ± 3%       ~ (p=0.699 n=6)
Builder/zstd_compression/level_3-16      461.0Mi ± 4%   463.1Mi ± 4%       ~ (p=0.699 n=6)
Builder/zstd_compression/level_15-16     462.3Mi ± 2%   465.5Mi ± 3%       ~ (p=0.818 n=6)
Builder/snappy_compression-16                           504.7Mi ± 5%
geomean                                  476.4Mi        483.0Mi       +0.49%

                                     │ with_s2.txt  │
                                     │     B/op     │
Builder/no_compression-16              217.5Mi ± 0%
Builder/encryption-16                  362.9Mi ± 0%
Builder/zstd_compression/level_1-16    295.0Mi ± 0%
Builder/zstd_compression/level_3-16    295.0Mi ± 0%
Builder/zstd_compression/level_15-16   295.0Mi ± 0%
Builder/snappy_compression-16          300.8Mi ± 0%
geomean                                291.2Mi

                                     │ with_s2.txt │
                                     │  allocs/op  │
Builder/no_compression-16              177.4k ± 0%
Builder/encryption-16                  297.3k ± 0%
Builder/zstd_compression/level_1-16    177.4k ± 0%
Builder/zstd_compression/level_3-16    177.4k ± 0%
Builder/zstd_compression/level_15-16   177.4k ± 0%
Builder/snappy_compression-16          177.4k ± 0%
geomean                                193.3k

pkg: github.com/dgraph-io/badger/v4/y
                                     │ without_s2.txt │             with_s2.txt             │
                                     │     sec/op     │    sec/op      vs base              │
Buffer/bytes-buffer-16                 1.088µ ± 1535%   1.046µ ± 678%       ~ (p=0.937 n=6)
Buffer/page-buffer/page-size-1024-16   520.5n ± 1833%   560.3n ±   6%       ~ (p=0.485 n=6)
geomean                                752.4n           765.6n         +1.75%```

@netlify
Copy link

netlify bot commented Sep 25, 2023

Deploy Preview for badger-docs canceled.

Name Link
🔨 Latest commit 12d48aa
🔍 Latest deploy log https://app.netlify.com/sites/badger-docs/deploys/6513e8ab03e5090008fc55f3

Upgrade for faster/better compression: klauspost/compress@v1.12.3...v1.15.15

Use 's2' in Snappy compatible mode for faster/better Snappy (de)compression:

https://github.com/klauspost/compress/tree/master/s2#blocks

Should improve compression speed, and `MaxEncodedLen` is considerably less. From `n = 32 + n + n/6` to `n + ((log2(n)+7)/7)` (max 10 bytes)

This change is both forward and backwards compatible, meaning output will be decompressable by older versions as well.

Benchmarks. Most are very noisy and dominated by allocs.

```
benchmark                                          old ns/op      new ns/op      delta
BenchmarkDbGrowth-32                               2387593900     2366353800     -0.89%
BenchmarkIteratePrefixSingleKey/Key_lookups-32     89209          87230          -2.22%
BenchmarkReadWrite/0.1,0064-32                     1827           1821           -0.33%
BenchmarkReadWrite/0.2,0064-32                     1830           1819           -0.60%
BenchmarkReadWrite/0.5,0064-32                     1873           1820           -2.83%
BenchmarkReadWrite/1.0,0064-32                     1881           1879           -0.11%
BenchmarkReadWrite/0.1,0128-32                     1892           1891           -0.05%
BenchmarkReadWrite/0.2,0128-32                     1920           1895           -1.30%
BenchmarkReadWrite/0.5,0128-32                     1942           1917           -1.29%
BenchmarkReadWrite/1.0,0128-32                     2001           1997           -0.20%
BenchmarkReadWrite/0.1,0256-32                     2039           2067           +1.37%
BenchmarkReadWrite/0.2,0256-32                     2065           2063           -0.10%
BenchmarkReadWrite/0.5,0256-32                     2106           2120           +0.66%
BenchmarkReadWrite/1.0,0256-32                     2211           2270           +2.67%
BenchmarkReadWrite/0.1,0512-32                     2292           2320           +1.22%
BenchmarkReadWrite/0.2,0512-32                     2329           2368           +1.67%
BenchmarkReadWrite/0.5,0512-32                     2450           2449           -0.04%
BenchmarkReadWrite/1.0,0512-32                     2589           2625           +1.39%
BenchmarkReadWrite/0.1,1024-32                     2837           2886           +1.73%
BenchmarkReadWrite/0.2,1024-32                     2960           3001           +1.39%
BenchmarkReadWrite/0.5,1024-32                     3162           3186           +0.76%
BenchmarkReadWrite/1.0,1024-32                     3513           3572           +1.68%
BenchmarkReadWrite/0.1,2048-32                     3857           3911           +1.40%
BenchmarkReadWrite/0.2,2048-32                     4036           4077           +1.02%
BenchmarkReadWrite/0.5,2048-32                     4484           4561           +1.72%
BenchmarkReadWrite/1.0,2048-32                     5193           5203           +0.19%
BenchmarkReadWrite/0.1,4096-32                     5814           5862           +0.83%
BenchmarkReadWrite/0.2,4096-32                     6139           6109           -0.49%
BenchmarkReadWrite/0.5,4096-32                     7136           6972           -2.30%
BenchmarkReadWrite/1.0,4096-32                     8391           8434           +0.51%
BenchmarkReadWrite/0.1,8192-32                     9412           9479           +0.71%
BenchmarkReadWrite/0.2,8192-32                     10088          10118          +0.30%
BenchmarkReadWrite/0.5,8192-32                     11580          11715          +1.17%
BenchmarkReadWrite/1.0,8192-32                     14446          14516          +0.48%
BenchmarkReadWrite/0.1,16384-32                    16798          16754          -0.26%
BenchmarkReadWrite/0.2,16384-32                    17645          17687          +0.24%
BenchmarkReadWrite/0.5,16384-32                    21139          21396          +1.22%
BenchmarkReadWrite/1.0,16384-32                    26156          27147          +3.79%
BenchmarkReadWrite/frac_0-32                       194            190            -1.81%
BenchmarkReadWrite/frac_1-32                       168            169            +0.24%
BenchmarkReadWrite/frac_2-32                       171            160            -6.71%
BenchmarkReadWrite/frac_3-32                       183            152            -17.18%
BenchmarkReadWrite/frac_4-32                       131            129            -1.75%
BenchmarkReadWrite/frac_5-32                       122            122            +0.08%
BenchmarkReadWrite/frac_6-32                       117            114            -2.40%
BenchmarkReadWrite/frac_7-32                       97.7           93.0           -4.76%
BenchmarkReadWrite/frac_8-32                       79.2           68.0           -14.15%
BenchmarkReadWrite/frac_9-32                       54.6           59.3           +8.57%
BenchmarkReadWrite/frac_10-32                      6.57           8.01           +21.89%
BenchmarkReadWriteMap/frac_0-32                    363            369            +1.65%
BenchmarkReadWriteMap/frac_1-32                    344            343            -0.32%
BenchmarkReadWriteMap/frac_2-32                    334            338            +1.32%
BenchmarkReadWriteMap/frac_3-32                    345            341            -1.19%
BenchmarkReadWriteMap/frac_4-32                    346            350            +1.36%
BenchmarkReadWriteMap/frac_5-32                    354            360            +1.78%
BenchmarkReadWriteMap/frac_6-32                    361            357            -1.11%
BenchmarkReadWriteMap/frac_7-32                    376            374            -0.43%
BenchmarkReadWriteMap/frac_8-32                    366            364            -0.46%
BenchmarkReadWriteMap/frac_9-32                    312            310            -0.80%
BenchmarkReadWriteMap/frac_10-32                   40.1           40.0           -0.32%
BenchmarkWrite-32                                  209            199            -4.83%
BenchmarkSortedWrites/builder-32                   58.4           62.1           +6.41%
BenchmarkSortedWrites/skiplist-32                  354            348            -1.84%
BenchmarkSortedWrites/buffer-32                    81.5           81.5           +0.09%
BenchmarkBuilder/no_compression-32                 150415843      145178786      -3.48%
BenchmarkBuilder/encryption-32                     202647000      201539767      -0.55%
BenchmarkBuilder/snappy_compression/level_1-32     177067050      171329850      -3.24%
BenchmarkBuilder/zstd_compression/level_1-32       178846817      172781467      -3.39%
BenchmarkBuilder/zstd_compression/level_3-32       178101100      171115667      -3.92%
BenchmarkBuilder/zstd_compression/level_15-32      179374867      174848183      -2.52%
BenchmarkRead-32                                   658641400      483333167      -26.62%
BenchmarkReadAndBuild-32                           1624537000     1457130300     -10.30%
BenchmarkReadMerged-32                             1102582000     894604200      -18.86%
BenchmarkChecksum/CRC_1024-32                      68.6           68.5           -0.12%
BenchmarkChecksum/xxHash64_1024-32                 69.5           69.8           +0.42%
BenchmarkChecksum/SHA256_1024-32                   2175           2181           +0.28%
BenchmarkChecksum/CRC_2048-32                      128            128            +0.00%
BenchmarkChecksum/xxHash64_2048-32                 131            132            +0.69%
BenchmarkChecksum/SHA256_2048-32                   4159           4164           +0.12%
BenchmarkChecksum/CRC_4096-32                      250            251            +0.48%
BenchmarkChecksum/xxHash64_4096-32                 265            262            -1.39%
BenchmarkChecksum/SHA256_4096-32                   8135           8112           -0.28%
BenchmarkChecksum/CRC_8192-32                      499            498            -0.28%
BenchmarkChecksum/xxHash64_8192-32                 517            514            -0.56%
BenchmarkChecksum/SHA256_8192-32                   16050          16076          +0.16%
BenchmarkChecksum/CRC_16384-32                     986            984            -0.21%
BenchmarkChecksum/xxHash64_16384-32                1016           1013           -0.30%
BenchmarkChecksum/SHA256_16384-32                  31963          31920          -0.13%
BenchmarkChecksum/CRC_32768-32                     1949           1950           +0.05%
BenchmarkChecksum/xxHash64_32768-32                2016           2024           +0.40%
BenchmarkChecksum/SHA256_32768-32                  63541          63775          +0.37%
BenchmarkChecksum/CRC_65536-32                     3901           3902           +0.03%
BenchmarkChecksum/xxHash64_65536-32                4028           4015           -0.32%
BenchmarkChecksum/SHA256_65536-32                  126903         129392         +1.96%
BenchmarkChecksum/CRC_131072-32                    7760           7976           +2.78%
BenchmarkChecksum/xxHash64_131072-32               8030           8035           +0.06%
BenchmarkChecksum/SHA256_131072-32                 254342         259402         +1.99%
BenchmarkChecksum/CRC_262144-32                    15666          15760          +0.60%
BenchmarkChecksum/xxHash64_262144-32               16080          16047          -0.21%
BenchmarkChecksum/SHA256_262144-32                 507193         515186         +1.58%
BenchmarkChecksum/CRC_1048576-32                   61978          63675          +2.74%
BenchmarkChecksum/xxHash64_1048576-32              64210          64711          +0.78%
BenchmarkChecksum/SHA256_1048576-32                2029004        2085432        +2.78%
BenchmarkRandomRead-32                             25890          18761          -27.54%
BenchmarkBuffer/bytes-buffer-32                    590            592            +0.32%
BenchmarkBuffer/page-buffer/page-size-1024-32      164            162            -1.40%

benchmark                                          old MB/s     new MB/s     speedup
BenchmarkBuilder/no_compression-32                 553.13       573.09       1.04x
BenchmarkBuilder/encryption-32                     410.57       412.82       1.01x
BenchmarkBuilder/snappy_compression/level_1-32     469.88       485.61       1.03x
BenchmarkBuilder/zstd_compression/level_1-32       465.20       481.53       1.04x
BenchmarkBuilder/zstd_compression/level_3-32       467.15       486.22       1.04x
BenchmarkBuilder/zstd_compression/level_15-32      463.83       475.84       1.03x
```

Bugfix: using s2 instead of snappy
@siddhant2001 siddhant2001 changed the title WIP: compress package test and benchmark. perf: upgrade compress package test and benchmark. Sep 27, 2023
@harshil-goel harshil-goel reopened this Sep 27, 2023
@harshil-goel harshil-goel merged commit 2aea1ca into main Sep 27, 2023
16 checks passed
@harshil-goel harshil-goel deleted the siddhant/upgrade-compress2 branch September 27, 2023 16:43
charithe added a commit to cerbos/cerbos that referenced this pull request Sep 2, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | Type |
Update |
|---|---|---|---|---|---|---|---|
|
[github.com/Masterminds/sprig/v3](https://redirect.github.com/Masterminds/sprig)
| `v3.2.3` -> `v3.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fMasterminds%2fsprig%2fv3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fMasterminds%2fsprig%2fv3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fMasterminds%2fsprig%2fv3/v3.2.3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fMasterminds%2fsprig%2fv3/v3.2.3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
|
[github.com/aws/aws-sdk-go-v2/config](https://redirect.github.com/aws/aws-sdk-go-v2)
| `v1.27.30` -> `v1.27.31` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.30/v1.27.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2faws%2faws-sdk-go-v2%2fconfig/v1.27.30/v1.27.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
| [github.com/bufbuild/buf](https://redirect.github.com/bufbuild/buf) |
`v1.38.0` -> `v1.39.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbufbuild%2fbuf/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbufbuild%2fbuf/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbufbuild%2fbuf/v1.38.0/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbufbuild%2fbuf/v1.38.0/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
|
[github.com/bufbuild/protovalidate-go](https://redirect.github.com/bufbuild/protovalidate-go)
| `v0.6.4` -> `v0.6.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbufbuild%2fprotovalidate-go/v0.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbufbuild%2fprotovalidate-go/v0.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbufbuild%2fprotovalidate-go/v0.6.4/v0.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbufbuild%2fprotovalidate-go/v0.6.4/v0.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
|
[github.com/cerbos/cloud-api](https://redirect.github.com/cerbos/cloud-api)
| `v0.1.23` -> `v0.1.24` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcerbos%2fcloud-api/v0.1.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcerbos%2fcloud-api/v0.1.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcerbos%2fcloud-api/v0.1.23/v0.1.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcerbos%2fcloud-api/v0.1.23/v0.1.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
|
[github.com/dadav/helm-schema](https://redirect.github.com/dadav/helm-schema)
| `4e067df` -> `f205574` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdadav%2fhelm-schema/v0.0.0-20240831174639-f2055746722e?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdadav%2fhelm-schema/v0.0.0-20240831174639-f2055746722e?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdadav%2fhelm-schema/v0.0.0-20240817173722-4e067df209ea/v0.0.0-20240831174639-f2055746722e?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdadav%2fhelm-schema/v0.0.0-20240817173722-4e067df209ea/v0.0.0-20240831174639-f2055746722e?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | digest |
|
[github.com/dgraph-io/badger/v4](https://redirect.github.com/dgraph-io/badger)
| `v4.2.0` -> `v4.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdgraph-io%2fbadger%2fv4/v4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdgraph-io%2fbadger%2fv4/v4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdgraph-io%2fbadger%2fv4/v4.2.0/v4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdgraph-io%2fbadger%2fv4/v4.2.0/v4.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
|
[github.com/fergusstrange/embedded-postgres](https://redirect.github.com/fergusstrange/embedded-postgres)
| `v1.28.0` -> `v1.29.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ffergusstrange%2fembedded-postgres/v1.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2ffergusstrange%2fembedded-postgres/v1.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2ffergusstrange%2fembedded-postgres/v1.28.0/v1.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ffergusstrange%2fembedded-postgres/v1.28.0/v1.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |
| [github.com/rs/cors](https://redirect.github.com/rs/cors) | `v1.11.0`
-> `v1.11.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2frs%2fcors/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2frs%2fcors/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2frs%2fcors/v1.11.0/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2frs%2fcors/v1.11.0/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | patch |
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto)
| `4ba0660` -> `7e3bb23` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240827150818-7e3bb234dfed?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240827150818-7e3bb234dfed?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240823204242-4ba0660f739c/v0.0.0-20240827150818-7e3bb234dfed?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2fapi/v0.0.0-20240823204242-4ba0660f739c/v0.0.0-20240827150818-7e3bb234dfed?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | digest |
| [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go) |
`v1.65.0` -> `v1.66.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.65.0/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.65.0/v1.66.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
| require | minor |

---

### Release Notes

<details>
<summary>Masterminds/sprig (github.com/Masterminds/sprig/v3)</summary>

###
[`v3.3.0`](https://redirect.github.com/Masterminds/sprig/releases/tag/v3.3.0)

[Compare
Source](https://redirect.github.com/Masterminds/sprig/compare/v3.2.3...v3.3.0)

#### What's Changed

- Updating the Go versions used in testing by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[Masterminds/sprig#405
- Change intial to initial. by
[@&#8203;chrishalbert](https://redirect.github.com/chrishalbert) in
[Masterminds/sprig#391
- Updating dependencies by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[Masterminds/sprig#404
- correct value by
[@&#8203;jheyduk](https://redirect.github.com/jheyduk) in
[Masterminds/sprig#376
- Updating location of mergo by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[Masterminds/sprig#406
- feature: added sha512sum function by
[@&#8203;itzik-elayev](https://redirect.github.com/itzik-elayev) in
[Masterminds/sprig#400
- docs: Add missing link to url functions by
[@&#8203;carlpett](https://redirect.github.com/carlpett) in
[Masterminds/sprig#375
- Update doc.go by [@&#8203;chey](https://redirect.github.com/chey) in
[Masterminds/sprig#369
- Update mathf.md by
[@&#8203;zzhu41](https://redirect.github.com/zzhu41) in
[Masterminds/sprig#290
- Removing duplicate documentation by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[Masterminds/sprig#407
- Updating the changelog for the 3.3.0 release by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[Masterminds/sprig#408

#### New Contributors

- [@&#8203;chrishalbert](https://redirect.github.com/chrishalbert) made
their first contribution in
[Masterminds/sprig#391
- [@&#8203;jheyduk](https://redirect.github.com/jheyduk) made their
first contribution in
[Masterminds/sprig#376
- [@&#8203;itzik-elayev](https://redirect.github.com/itzik-elayev) made
their first contribution in
[Masterminds/sprig#400
- [@&#8203;carlpett](https://redirect.github.com/carlpett) made their
first contribution in
[Masterminds/sprig#375
- [@&#8203;chey](https://redirect.github.com/chey) made their first
contribution in
[Masterminds/sprig#369
- [@&#8203;zzhu41](https://redirect.github.com/zzhu41) made their first
contribution in
[Masterminds/sprig#290

**Full Changelog**:
Masterminds/sprig@v3.2.3...v3.3.0

</details>

<details>
<summary>bufbuild/buf (github.com/bufbuild/buf)</summary>

###
[`v1.39.0`](https://redirect.github.com/bufbuild/buf/blob/HEAD/CHANGELOG.md#v1390---2024-08-27)

[Compare
Source](https://redirect.github.com/bufbuild/buf/compare/v1.38.0...v1.39.0)

-   Fix git input handling of relative HEAD refs without branch names.
- Add `includes` key to module configurations in v2 `buf.yaml`,
accepting a list of directories.
- If `includes` is specified, a proto file is considered in the module
only if it is in one of the
        directories specified.
- If both `includes` and `excludes` keys are specified for a module, a
proto file is considered
part of this module if it is contained in any of the include paths and
not in any of the exclude
        paths.
- Allow multiple module configurations in the same v2 `buf.yaml` to have
the same directory path.

</details>

<details>
<summary>bufbuild/protovalidate-go
(github.com/bufbuild/protovalidate-go)</summary>

###
[`v0.6.5`](https://redirect.github.com/bufbuild/protovalidate-go/releases/tag/v0.6.5)

[Compare
Source](https://redirect.github.com/bufbuild/protovalidate-go/compare/v0.6.4...v0.6.5)

#### What's Changed

- Add `buf.gen.yaml` v2 schema example by
[@&#8203;milas](https://redirect.github.com/milas) in
[bufbuild/protovalidate-go#138
- Upgrade to support Go 1.23 by
[@&#8203;rodaine](https://redirect.github.com/rodaine) in
[bufbuild/protovalidate-go#139
- Remove Go 1.20 support by
[@&#8203;rodaine](https://redirect.github.com/rodaine) in
[bufbuild/protovalidate-go#140
- Bugfix: avoid spurious tautology pruning when dealing with certain
recursive messages by
[@&#8203;rodaine](https://redirect.github.com/rodaine) in
[bufbuild/protovalidate-go#142

#### New Contributors

- [@&#8203;milas](https://redirect.github.com/milas) made their first
contribution in
[bufbuild/protovalidate-go#138

**Full Changelog**:
bufbuild/protovalidate-go@v0.6.4...v0.6.5

</details>

<details>
<summary>cerbos/cloud-api (github.com/cerbos/cloud-api)</summary>

###
[`v0.1.24`](https://redirect.github.com/cerbos/cloud-api/releases/tag/v0.1.24)

[Compare
Source](https://redirect.github.com/cerbos/cloud-api/compare/v0.1.23...v0.1.24)


[v0.1.24](https://redirect.github.com/cerbos/cloud-api/releases/tag/v0.1.24)

</details>

<details>
<summary>dgraph-io/badger (github.com/dgraph-io/badger/v4)</summary>

###
[`v4.3.0`](https://redirect.github.com/dgraph-io/badger/releases/tag/v4.3.0):
Badger v4.3.0

[Compare
Source](https://redirect.github.com/dgraph-io/badger/compare/v4.2.0...v4.3.0)

#### What's Changed

Fixes:

- chore(changelog): add a missed entry in CHANGELOG for v4.2.0 by
[@&#8203;mangalaman93](https://redirect.github.com/mangalaman93) in
[dgraph-io/badger#1988
- update README with project KVS using badger by
[@&#8203;tauraamui](https://redirect.github.com/tauraamui) in
[dgraph-io/badger#1989
- fix edge case for watermark when index is zero by
[@&#8203;mangalaman93](https://redirect.github.com/mangalaman93) in
[dgraph-io/badger#1999
- upgrade spf13/cobra to version v1.7.0 by
[@&#8203;mangalaman93](https://redirect.github.com/mangalaman93) in
[dgraph-io/badger#2001
- chore: update readme by
[@&#8203;joshua-goldstein](https://redirect.github.com/joshua-goldstein)
in
[dgraph-io/badger#2011
- perf: upgrade compress package test and benchmark. by
[@&#8203;siddhant2001](https://redirect.github.com/siddhant2001) in
[dgraph-io/badger#2009
- fix(Transactions): Fix resource consumption on empty write transaction
by [@&#8203;Zach-Johnson](https://redirect.github.com/Zach-Johnson) in
[dgraph-io/badger#2018
- chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2017
- perf(compactor): optimize allocations: use buffer for priorities by
[@&#8203;deff7](https://redirect.github.com/deff7) in
[dgraph-io/badger#2006
- fix(Transaction): discard empty transactions on CommitWith by
[@&#8203;Wondertan](https://redirect.github.com/Wondertan) in
[dgraph-io/badger#2031
- fix(levelHandler): use lock for levelHandler sort tables instead of
rlock by [@&#8203;xgzlucario](https://redirect.github.com/xgzlucario) in
[dgraph-io/badger#2034
- Docs: update README with project LLS using badger by
[@&#8203;Boc-chi-no](https://redirect.github.com/Boc-chi-no) in
[dgraph-io/badger#2032
- chore: MaxTableSize has been renamed to BaseTableSize by
[@&#8203;mitar](https://redirect.github.com/mitar) in
[dgraph-io/badger#2038
- Update CODEOWNERS by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2043
- Chore(): add Stale Action by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2070
- Update ristretto and refactor for use of generics by
[@&#8203;paralin](https://redirect.github.com/paralin) in
[dgraph-io/badger#2047
- chore: Remove obsolete comment by
[@&#8203;mitar](https://redirect.github.com/mitar) in
[dgraph-io/badger#2039
- chore(Docs): Update jQuery 3.2.1 to 3.7.1 by
[@&#8203;kokizzu](https://redirect.github.com/kokizzu) in
[dgraph-io/badger#2023
- chore(deps): bump the go_modules group with 3 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2074
- docs(): update docs path by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2076
- perf: fix operation in seek by
[@&#8203;harshil-goel](https://redirect.github.com/harshil-goel) in
[dgraph-io/badger#2077
- Add lakeFS to README.md by
[@&#8203;N-o-Z](https://redirect.github.com/N-o-Z) in
[dgraph-io/badger#2078
- chore(): add Dependabot by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2080
- chore(deps): bump golangci/golangci-lint-action from 4 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2083
- chore(deps): bump actions/upload-artifact from 3 to 4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2081
- chore(deps): bump github/codeql-action from 2 to 3 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2082
- chore(deps): bump the minor group with 7 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2089
- Action Manager by
[@&#8203;madhu72](https://redirect.github.com/madhu72) in
[dgraph-io/badger#2050
- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 in the minor
group by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2091
- chore(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4 in
the patch group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2090
- chore: fix some comments by
[@&#8203;dufucun](https://redirect.github.com/dufucun) in
[dgraph-io/badger#2092
- chore(deps): bump github.com/google/flatbuffers from 1.12.1 to
24.3.25+incompatible by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[dgraph-io/badger#2084

CI:

- ci: change cron frequency to fix ghost jobs by
[@&#8203;joshua-goldstein](https://redirect.github.com/joshua-goldstein)
in
[dgraph-io/badger#2010
- fix(CI): Update to pull_request trigger by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2056
- ci/cd optimization by
[@&#8203;ryanfoxtyler](https://redirect.github.com/ryanfoxtyler) in
[dgraph-io/badger#2051
- fix(cd): fixed cd pipeline by
[@&#8203;harshil-goel](https://redirect.github.com/harshil-goel) in
[dgraph-io/badger#2093
- fix(cd): change name by
[@&#8203;harshil-goel](https://redirect.github.com/harshil-goel) in
[dgraph-io/badger#2094
- fix(cd): added more debug things to cd by
[@&#8203;harshil-goel](https://redirect.github.com/harshil-goel) in
[dgraph-io/badger#2095
- fix(cd): removing some debug items by
[@&#8203;harshil-goel](https://redirect.github.com/harshil-goel) in
[dgraph-io/badger#2096

**Full Changelog**:
dgraph-io/badger@v4.2.0...v4.3.0

</details>

<details>
<summary>fergusstrange/embedded-postgres
(github.com/fergusstrange/embedded-postgres)</summary>

###
[`v1.29.0`](https://redirect.github.com/fergusstrange/embedded-postgres/releases/tag/v1.29.0)

[Compare
Source](https://redirect.github.com/fergusstrange/embedded-postgres/compare/v1.28.0...v1.29.0)

#### What's Changed

- Update versions by
[@&#8203;fergusstrange](https://redirect.github.com/fergusstrange) in
[fergusstrange/embedded-postgres#142
**Full Changelog**:
fergusstrange/embedded-postgres@v1.28.0...v1.29.0

</details>

<details>
<summary>rs/cors (github.com/rs/cors)</summary>

###
[`v1.11.1`](https://redirect.github.com/rs/cors/compare/v1.11.0...v1.11.1)

[Compare
Source](https://redirect.github.com/rs/cors/compare/v1.11.0...v1.11.1)

</details>

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

###
[`v1.66.0`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.66.0):
Release 1.66.0

[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.65.0...v1.66.0)

### New Features

- metadata: stabilize `ValueFromIncomingContext`
([#&#8203;7368](https://redirect.github.com/grpc/grpc-go/issues/7368))
- Special Thanks:
[@&#8203;KarthikReddyPuli](https://redirect.github.com/KarthikReddyPuli)
- client: stabilize the `WaitForStateChange` and `GetState` methods,
which were previously experimental.
([#&#8203;7425](https://redirect.github.com/grpc/grpc-go/issues/7425))
- xds: Implement ADS flow control mechanism
([#&#8203;7458](https://redirect.github.com/grpc/grpc-go/issues/7458))
- See
[grpc/grpc#34099
for context.
- balancer/rls: Add metrics for data cache and picker internals
([#&#8203;7484](https://redirect.github.com/grpc/grpc-go/issues/7484),
[#&#8203;7495](https://redirect.github.com/grpc/grpc-go/issues/7495))
- xds: LRS load reports now include the `total_issued_requests` field.
([#&#8203;7544](https://redirect.github.com/grpc/grpc-go/issues/7544))

### Bug Fixes

- grpc: Clients now return status code INTERNAL instead of UNIMPLEMENTED
when the server uses an unsupported compressor. This is consistent with
the [gRPC compression
spec](https://redirect.github.com/grpc/grpc/blob/master/doc/compression.md#compression-method-asymmetry-between-peers).
([#&#8203;7461](https://redirect.github.com/grpc/grpc-go/issues/7461))
- Special Thanks:
[@&#8203;Gayathri625](https://redirect.github.com/Gayathri625)
- transport: Fix a bug which could result in writes busy looping when
the underlying `conn.Write` returns errors
([#&#8203;7394](https://redirect.github.com/grpc/grpc-go/issues/7394))
- Special Thanks: [@&#8203;veshij](https://redirect.github.com/veshij)
- client: fix race that could lead to orphaned connections and
associated resources.
([#&#8203;7390](https://redirect.github.com/grpc/grpc-go/issues/7390))
- xds: use locality from the connected address for load reporting with
pick_first
([#&#8203;7378](https://redirect.github.com/grpc/grpc-go/issues/7378))
- without this fix, if a priority contains multiple localities with
pick_first, load was reported for the wrong locality
- client: prevent hanging during ClientConn.Close() when the network is
unreachable
([#&#8203;7540](https://redirect.github.com/grpc/grpc-go/issues/7540))

### Performance Improvements

- transport: double buffering is avoided when using an http connect
proxy and the target server waits for client to send the first message.
([#&#8203;7424](https://redirect.github.com/grpc/grpc-go/issues/7424))
- codec: Implement a new `Codec` which uses buffer recycling for encoded
message
([#&#8203;7356](https://redirect.github.com/grpc/grpc-go/issues/7356))
- introduce a `mem` package to facilitate buffer reuse
([#&#8203;7432](https://redirect.github.com/grpc/grpc-go/issues/7432))
- Special Thanks:
[@&#8203;PapaCharlie](https://redirect.github.com/PapaCharlie)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/cerbos/cerbos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXJlYS9kZXBlbmRlbmNpZXMiLCJib3RzIiwia2luZC9jaG9yZSJdfQ==-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charith Ellawala <charith@cerbos.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants