Skip to content

Conversation

PiotrSikora
Copy link
Member

Before:

utils::bench_serialize_map ... bench: 66.87 ns/iter (+/- 1.33)
utils::bench_serialize_map_bytes ... bench: 69.42 ns/iter (+/- 1.45)

After:

utils::bench_serialize_map ... bench: 55.84 ns/iter (+/- 1.16)
utils::bench_serialize_map_bytes ... bench: 56.03 ns/iter (+/- 1.19)

Note that this is changed only in the private functions to avoid breaking
the public API.

Before:

utils::bench_serialize_map         ... bench:    66.87 ns/iter (+/- 1.33)
utils::bench_serialize_map_bytes   ... bench:    69.42 ns/iter (+/- 1.45)

After:

utils::bench_serialize_map         ... bench:    55.84 ns/iter (+/- 1.16)
utils::bench_serialize_map_bytes   ... bench:    56.03 ns/iter (+/- 1.19)

Note that this is changed only in the private functions to avoid breaking
the public API.

Signed-off-by: Piotr Sikora <[email protected]>
@PiotrSikora PiotrSikora merged commit c0cc06f into proxy-wasm:main Jun 3, 2025
23 checks passed
@PiotrSikora PiotrSikora deleted the serialize-slices branch June 3, 2025 06:20
JaatadiaMulesoft pushed a commit to JaatadiaMulesoft/proxy-wasm-rust-sdk that referenced this pull request Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants