benchmark byte conversion as well; bittorrent_udp: use buffers

This commit is contained in:
Joakim Frostegård 2020-04-07 19:49:29 +02:00
parent 51590a3d6c
commit a99688a5a2
11 changed files with 231 additions and 106 deletions

View file

@ -7,7 +7,6 @@
* Stack-allocated vector?
* Benchmarks
* num_rounds command line argument
* Better black_box (or make sure to consume data)
* Send in connect reponse ids to other functions as integration test
* Save last results, check if difference is significant?
* ProgressBar: `[{elapsed_precise}]` and eta_precise?
@ -15,6 +14,7 @@
* Performance
* cpu-target=native good?
* mialloc good?
* https://docs.rs/zerocopy/0.3.0/zerocopy/index.html for requests and responses?
* bittorrent_udp
* ParseError enum maybe, with `Option<TransactionId>`
* Avoid allocating in conversion to bytes, send in a mutable buffer