-
My code is
From flamegraph aws_sigv4::http_request::canonical_request::CanonicalRequest::payload_hash use about 70% cpu,may be cpu used to compress request. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
We have also observed this behaviour running on Graviton, and it turned out to be because of requiring the The https://github.com/RustCrypto/hashes/blob/master/sha2/CHANGELOG.md |
Beta Was this translation helpful? Give feedback.
Interesting. It seems like the CPU is used computing the SHA256 checksum (the compression is a little misleading here, that's just a name of function inside of sha256).
Can you say more about the platform you're running on? This flamegraph is definitely from a release build right? We've done a lot of benchmarking of multipart upload (including in parallel) and we didn't see this behavior.