frostfs-sdk-go/netmap
Evgenii Stratonikov 6729f54c4e [#236] netmap: Reuse slice for weights in ContainerNodes()
```
goos: linux
goarch: amd64
pkg: git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap
cpu: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
                                                              │    alloc     │               weights               │
                                                              │    sec/op    │    sec/op     vs base               │
Netmap_ContainerNodes/REP_2-8                                   8.677µ ±  6%   8.384µ ± 10%       ~ (p=0.247 n=10)
Netmap_ContainerNodes/REP_2_IN_X_CBF_2_SELECT_2_FROM_*_AS_X-8   7.946µ ± 14%   7.998µ ±  6%       ~ (p=0.481 n=10)
geomean                                                         8.303µ         8.189µ        -1.38%

                                                              │    alloc     │               weights               │
                                                              │     B/op     │     B/op      vs base               │
Netmap_ContainerNodes/REP_2-8                                   7.734Ki ± 0%   7.617Ki ± 0%  -1.52% (p=0.000 n=10)
Netmap_ContainerNodes/REP_2_IN_X_CBF_2_SELECT_2_FROM_*_AS_X-8   7.156Ki ± 0%   7.039Ki ± 0%  -1.64% (p=0.000 n=10)
geomean                                                         7.440Ki        7.322Ki       -1.58%

                                                              │   alloc    │              weights               │
                                                              │ allocs/op  │ allocs/op   vs base                │
Netmap_ContainerNodes/REP_2-8                                   92.00 ± 0%   77.00 ± 0%  -16.30% (p=0.000 n=10)
Netmap_ContainerNodes/REP_2_IN_X_CBF_2_SELECT_2_FROM_*_AS_X-8   92.00 ± 0%   77.00 ± 0%  -16.30% (p=0.000 n=10)
geomean                                                         92.00        77.00       -16.30%
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-12 14:25:07 +03:00
..
parser [#205] netmap: Add EC statement to placement policy 2024-03-22 10:14:12 +00:00
test [#161] *: Do not use math/rand.Read() 2023-09-08 17:17:02 +03:00
yml_tests [#166] netmap: Move tests from JSON to YML 2023-11-17 14:42:39 +03:00
aggregator.go [#236] netmap: Reduce allocations in getSelection() 2024-07-12 14:25:07 +03:00
aggregator_test.go [#88] netmap: fix min aggregator bug, add tests 2023-10-03 07:05:03 +00:00
bench_test.go [#190] sdk-go: Gofumpt fixes 2023-11-22 19:21:20 +03:00
context.go [#167] netmap: Allow to select insufficient number of nodes 2023-09-15 14:47:54 +03:00
doc.go Rename package name 2023-03-07 15:47:21 +03:00
filter.go [#78] netmap: Add new keywords NOT and UNIQUE 2023-06-02 17:47:20 +03:00
filter_test.go Rename package name 2023-03-07 15:47:21 +03:00
helper_test.go Rename package name 2023-03-07 15:47:21 +03:00
netmap.go [#236] netmap: Reuse slice for weights in ContainerNodes() 2024-07-12 14:25:07 +03:00
netmap_test.go Rename package name 2023-03-07 15:47:21 +03:00
network_info.go [#232] netmap: Allow empty values for unknown parameters in network config 2024-07-09 12:19:25 +03:00
network_info_decode_test.go [#240] netmap: Support HomomorphicHashingDisabled network config 2022-07-05 15:37:49 +03:00
network_info_test.go [#205] netmap: Add well-known EC parameters to network config 2024-03-22 10:14:12 +00:00
node_info.go [#236] netmap: Replace sort.Slice() with slices.Sort() 2024-07-12 14:25:07 +03:00
node_info_test.go [#344] netmap: Support ExternalAddr well-known attribute 2022-09-26 13:28:39 +03:00
policy.go [#220] netmap: Fix setters for Replica.DataCount/ParityCount 2024-05-07 09:34:14 +03:00
policy_decode_test.go [#216] netmap: Add policy decode fuzz test 2024-05-07 11:10:37 +00:00
policy_fuzz.go [#216] netmap: Add policy decode fuzz test 2024-05-07 11:10:37 +00:00
policy_fuzz_test.go [#216] netmap: Add policy decode fuzz test 2024-05-07 11:10:37 +00:00
policy_test.go [#190] sdk-go: Gofumpt fixes 2023-11-22 19:21:20 +03:00
selector.go [#236] netmap: Reuse slice for weights in ContainerNodes() 2024-07-12 14:25:07 +03:00
selector_test.go [#236] netmap: Replace sort.Slice() with slices.Sort() 2024-07-12 14:25:07 +03:00
Tests.md [#23] pre-commit: Add initial configuration 2023-03-09 22:52:51 +03:00
yml_test.go [#166] netmap: Add support YML tests 2023-11-17 14:43:03 +03:00
yml_unmarshal.go [#166] netmap: Add support YML tests 2023-11-17 14:43:03 +03:00