Skip to content
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

Encoding #7

Open
swkim101 opened this issue Dec 3, 2024 · 2 comments
Open

Encoding #7

swkim101 opened this issue Dec 3, 2024 · 2 comments

Comments

@swkim101
Copy link
Owner

swkim101 commented Dec 3, 2024

The server and client communicate using JSON strings.
We can replace JSON strings aiming for (1) faster (un)marshal and (2) smaller packet sizes.

This thread will discuss the evaluation of the replacement.

@swkim101
Copy link
Owner Author

swkim101 commented Dec 3, 2024

  1. Baseline (JSON string + zstd)

Size (kB)

avg med stddev min max
2.148824 2.2 0.293426 1.09 2.45

@swkim101
Copy link
Owner Author

swkim101 commented Dec 3, 2024

  1. Protobuf

Size (kB)

avg med stddev min max
1.802176 1.87 0.419339 0.297 2.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

No branches or pull requests

1 participant