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

Bad Data Benchmark options #47

Open
d3x0r opened this issue Aug 27, 2017 · 0 comments
Open

Bad Data Benchmark options #47

d3x0r opened this issue Aug 27, 2017 · 0 comments

Comments

@d3x0r
Copy link

d3x0r commented Aug 27, 2017

the default option for ws is 'per-message-deflate' this makes the packets that are 1024 bytes of lots of zeros only 16 bytes

b\030\005\243\024\214T\000\000\000\000\377\377\000

Which sort of defeats the data size throughput measurement; you should disable this option when creating a new ws client conneciton.
Or generate packets that don't compress to nothing... maybe build them with randomness... hard to gauge real world data and how much it would compress, but it would be somewhere between maximal (all the same byte) and minimal (math.random() for instance)

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