benchmark the recoding process
this MR
- adds
criterion
as a dependency - creates a new
benches/recoding.rs
benchmark file - makes the following
pub
licfec::combine
-
field
andfield::split_data_into_field_elements
example results
bytes | shards | k | mean (us) |
---|---|---|---|
1 | 2 | 2 | 0.127 |
1 | 2 | 4 | 0.179 |
1 | 2 | 8 | 0.283 |
1 | 2 | 16 | 0.504 |
1 | 4 | 2 | 0.346 |
1 | 4 | 4 | 0.506 |
1 | 4 | 8 | 0.823 |
1 | 4 | 16 | 1.451 |
1 | 8 | 2 | 0.789 |
1 | 8 | 4 | 1.155 |
1 | 8 | 8 | 1.89 |
1 | 8 | 16 | 3.383 |
1 | 16 | 2 | 1.669 |
1 | 16 | 4 | 2.478 |
1 | 16 | 8 | 4.023 |
1 | 16 | 16 | 7.147 |
1024 | 2 | 2 | 1.02 |
1024 | 2 | 4 | 1.076 |
1024 | 2 | 8 | 1.172 |
1024 | 2 | 16 | 1.395 |
1024 | 4 | 2 | 2.981 |
1024 | 4 | 4 | 3.15 |
1024 | 4 | 8 | 3.453 |
1024 | 4 | 16 | 4.089 |
1024 | 8 | 2 | 6.907 |
1024 | 8 | 4 | 7.244 |
1024 | 8 | 8 | 7.969 |
1024 | 8 | 16 | 9.452 |
1024 | 16 | 2 | 15.169 |
1024 | 16 | 4 | 16.14 |
1024 | 16 | 8 | 17.086 |
1024 | 16 | 16 | 20.266 |
1048576 | 2 | 2 | 1470.966 |
1048576 | 2 | 4 | 1097.899 |
1048576 | 2 | 8 | 1091.298 |
1048576 | 2 | 16 | 1091.544 |
1048576 | 4 | 2 | 3274.852 |
1048576 | 4 | 4 | 3272.68 |
1048576 | 4 | 8 | 3251.877 |
1048576 | 4 | 16 | 3272.872 |
1048576 | 8 | 2 | 7582.074 |
1048576 | 8 | 4 | 7599.012 |
1048576 | 8 | 8 | 7584.59 |
1048576 | 8 | 16 | 7569.575 |
1048576 | 16 | 2 | 16274.986 |
1048576 | 16 | 4 | 16303.905 |
1048576 | 16 | 8 | 16313.429 |
1048576 | 16 | 16 | 16310.305 |
Edited by STEVAN Antoine
Merge request reports
Activity
added 8 commits
-
56721097 - 1 commit from branch
main
- faf7cd88 - expose `field::split_data_into_field_elements`
- 47b985b5 - add `benches/` and criterion
- c5b8d6ea - allow to change the number of shards
- d80eb49c - make `fec::combine` public
- 106d2e11 - add k
- d7b2f825 - remove useless public function in benchmark
- 3a8ed2e1 - format
Toggle commit list-
56721097 - 1 commit from branch
enabled an automatic merge when the pipeline for 3a8ed2e1 succeeds
added 8 commits
-
425430d7 - 1 commit from branch
main
- 1420c407 - expose `field::split_data_into_field_elements`
- 779b2d04 - add `benches/` and criterion
- d71a4784 - allow to change the number of shards
- fc868e6a - make `fec::combine` public
- 3423cc65 - add k
- 25491b57 - remove useless public function in benchmark
- 5295e0d0 - format
Toggle commit list-
425430d7 - 1 commit from branch
enabled an automatic merge when the pipeline for 5295e0d0 succeeds
mentioned in commit 9be9b007
mentioned in commit 2ac5406b
Please register or sign in to reply