frostfs-node/pkg/local_object_storage
Evgenii Stratonikov f5c39cc76a
All checks were successful
DCO action / DCO (pull_request) Successful in 41s
Vulncheck / Vulncheck (pull_request) Successful in 1m0s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m32s
Build / Build Components (pull_request) Successful in 1m55s
Tests and linters / gopls check (pull_request) Successful in 3m48s
Tests and linters / Run gofumpt (pull_request) Successful in 4m41s
Tests and linters / Lint (pull_request) Successful in 5m5s
Tests and linters / Staticcheck (pull_request) Successful in 5m19s
Tests and linters / Tests with -race (pull_request) Successful in 5m23s
Tests and linters / Tests (pull_request) Successful in 8m31s
[#1692] metabase: Use bucket cache in ListWithCursor()
No changes in speed, but unified approach:
```
goos: linux
goarch: amd64
pkg: git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/metabase
cpu: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
                           │    master    │                 new                 │
                           │    sec/op    │    sec/op     vs base               │
ListWithCursor/1_item-8      6.067µ ±  8%   5.731µ ± 10%       ~ (p=0.052 n=10)
ListWithCursor/10_items-8    25.40µ ± 11%   26.12µ ± 13%       ~ (p=0.971 n=10)
ListWithCursor/100_items-8   210.7µ ±  9%   203.2µ ±  6%       ~ (p=0.280 n=10)
geomean                      31.90µ         31.22µ        -2.16%

                           │    master    │                  new                  │
                           │     B/op     │     B/op      vs base                 │
ListWithCursor/1_item-8      3.287Ki ± 0%   3.287Ki ± 0%       ~ (p=1.000 n=10) ¹
ListWithCursor/10_items-8    15.63Ki ± 0%   15.62Ki ± 0%       ~ (p=0.328 n=10)
ListWithCursor/100_items-8   138.1Ki ± 0%   138.1Ki ± 0%       ~ (p=0.340 n=10)
geomean                      19.21Ki        19.21Ki       -0.00%
¹ all samples are equal

                           │   master    │                 new                  │
                           │  allocs/op  │  allocs/op   vs base                 │
ListWithCursor/1_item-8       109.0 ± 0%    109.0 ± 0%       ~ (p=1.000 n=10) ¹
ListWithCursor/10_items-8     380.0 ± 0%    380.0 ± 0%       ~ (p=1.000 n=10) ¹
ListWithCursor/100_items-8   3.082k ± 0%   3.082k ± 0%       ~ (p=1.000 n=10) ¹
geomean                       503.5         503.5       +0.00%
¹ all samples are equal
```

Change-Id: Ic11673427615053656b2a60068a6d4dbd27af2cb
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-03-20 17:50:27 +03:00
..
blobovnicza [#1620] logs: Drop redundant trace_id fields 2025-01-29 16:13:51 +03:00
blobstor [#1671] Use slices.Delete() where possible 2025-03-13 08:12:20 +00:00
engine [#1642] tree: Introduce Cursor type 2025-03-20 10:12:49 +00:00
internal [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
metabase [#1692] metabase: Use bucket cache in ListWithCursor() 2025-03-20 17:50:27 +03:00
metrics [#1367] fstree: Add IterateInfo method 2024-09-12 15:06:33 +03:00
pilorama [#1642] tree: Intoduce a helper LastChild 2025-03-20 10:12:49 +00:00
shard [#1642] tree: Introduce Cursor type 2025-03-20 10:12:49 +00:00
util [#1103] node: Implement Get\Head requests for EC object 2024-04-24 18:15:53 +03:00
writecache [#1677] writecache: Add QoS limiter usage 2025-03-14 16:23:33 +03:00