-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neofs: Preallocate buffers to object uploads
closes #833 goos: linux goarch: amd64 pkg: github.com/nspcc-dev/neofs-s3-gw/internal/neofs cpu: Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz │ old.txt │ new.txt │ │ sec/op │ sec/op vs base │ /object_upload_128-16 13.82m ± 10% 13.86m ± 8% ~ (p=0.631 n=10) /object_upload_256-16 18.84m ± 2% 19.46m ± 21% ~ (p=0.105 n=10) /object_upload_384-16 23.99m ± 2% 26.70m ± 10% +11.28% (p=0.003 n=10) /object_upload_512-16 29.31m ± 2% 30.09m ± 7% ~ (p=0.631 n=10) geomean 20.69m 21.58m +4.30% │ old.txt │ new.txt │ │ B/op │ B/op vs base │ /object_upload_128-16 65869.5Ki ± 0% 326.1Ki ± 0% -99.50% (p=0.000 n=10) /object_upload_256-16 66125.6Ki ± 0% 582.3Ki ± 0% -99.12% (p=0.000 n=10) /object_upload_384-16 66381.8Ki ± 0% 838.5Ki ± 0% -98.74% (p=0.000 n=10) /object_upload_512-16 65.076Mi ± 0% 1.069Mi ± 0% -98.36% (p=0.000 n=10) geomean 64.70Mi 646.1Ki -99.02% │ old.txt │ new.txt │ │ allocs/op │ allocs/op vs base │ /object_upload_128-16 883.0 ± 0% 864.0 ± 0% -2.15% (p=0.000 n=10) /object_upload_256-16 885.0 ± 0% 866.0 ± 0% -2.15% (p=0.000 n=10) /object_upload_384-16 889.0 ± 0% 872.5 ± 1% -1.86% (p=0.001 n=10) /object_upload_512-16 895.0 ± 0% 875.0 ± 0% -2.23% (p=0.000 n=10) geomean 888.0 869.4 -2.10% Signed-off-by: Evgenii Baidakov <[email protected]>
- Loading branch information
Showing
6 changed files
with
145 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters