Reserve a message's buffer from its header The header tells the size of every payload it can describe, so the vector a message is serialized into now reserves that size up front. The stream still writes through its own buffer, so a message that fits that buffer allocates as before, while a larger one no longer grows its vector in steps.
__________
Type: commit
Hash: d9637801ea6755879859201fcdb15d732839790a
Created: 26 day(s) ago
__________
gr0v1ty/nano-node:d9637801ea6755879859201fcdb15d732839790a
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 116 s | 3.0 s | GitHub job logs | Show |
| 5n4pr_conf_10k_change | PASS | 170 s | 35.0 s | GitHub job logs | Show |
| 5n4pr_conf_change_dependant | PASS | 139 s | 24.0 s | GitHub job logs | - |
| 5n4pr_conf_change_independant | PASS | 110 s | -2.0 s | GitHub job logs | - |
| 5n4pr_conf_send_dependant | PASS | 126 s | 12.0 s | GitHub job logs | - |
| 5n4pr_conf_send_independant | PASS | 117 s | 4.0 s | GitHub job logs | - |
| 5n4pr_rocks_10k_bintree | PASS | 118 s | 5.0 s | GitHub job logs | - |
| 5n4pr_rocks_10k_change | PASS | 219 s | 59.0 s | GitHub job logs | - |