Skip to content

Added Benchmark that tests serialization and deserialization of an enum. #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2025

Conversation

Narfinger
Copy link
Contributor

Previous benchmarks were concerned about empty sending and empty
receiving or sending bytes directly. This will now test the
serialization/deserialization round trip.

Signed-off-by: Narfinger [email protected]

@Narfinger Narfinger force-pushed the serialization-benchmark branch 2 times, most recently from 79c9920 to 60be143 Compare August 15, 2025 14:58
…enums.

Previous benchmarks were concerned about empty sending and empty
receiving or sending bytes directly. This will now test the
serialization.

Signed-off-by: Narfinger <[email protected]>

more enum stuff
Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable! It's certainly an improvement over not having any benchmarks.

@jdm jdm added this pull request to the merge queue Aug 20, 2025
Merged via the queue into servo:main with commit 0be20e3 Aug 20, 2025
16 checks passed
@Narfinger Narfinger deleted the serialization-benchmark branch August 21, 2025 07:23
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