Mojo: Reduce default message allocation size
4 kB is a bit large. Microbenchmarks don't indicate a performance hit when lowering this, and they may even improve on lower-end devices. This decreases the default size to 128 bytes. We can monitor perf dashboards for the effect. Also fixes a bug in test code which assumed an allocation wouldn't resize a message, since that actually happens now. Bug: None Change-Id: Ibc7d17fe6f7cc98db7b290862cd4aea0f9be4fe0 Reviewed-on: https://chromium-review.googlesource.com/992553Reviewed-by:Jay Civelli <jcivelli@chromium.org> Commit-Queue: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#548079}
Showing
Please register or sign in to comment