Skip to content

Commit

Permalink
Merge pull request #5 from uhmarcel/feature/chunkify
Browse files Browse the repository at this point in the history
Feature/chunkify
  • Loading branch information
uhmarcel committed Nov 20, 2022
2 parents 2083545 + 597988e commit 344e89f
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 138 deletions.
216 changes: 120 additions & 96 deletions benches/baseline.md
Original file line number Diff line number Diff line change
@@ -1,148 +1,172 @@
# Profiling Report
```diff

encode/3 time: [33.515 ns 33.597 ns 33.674 ns]
thrpt: [84.964 MiB/s 85.158 MiB/s 85.366 MiB/s]
encode/3 time: [33.819 ns 33.847 ns 33.874 ns]
thrpt: [84.460 MiB/s 84.528 MiB/s 84.597 MiB/s]
change:
- time: [+5.9382% +6.2328% +6.5144%] (p = 0.00 < 0.05)
- thrpt: [-6.1160% -5.8671% -5.6053%]
- Performance has regressed.
time: [+0.4183% +0.6705% +0.9191%] (p = 0.00 < 0.05)
thrpt: [-0.9107% -0.6660% -0.4166%]
Change within noise threshold.
Found 16 outliers among 100 measurements (16.00%)
4 (4.00%) low severe
2 (2.00%) low mild
7 (7.00%) high mild
3 (3.00%) high severe

encode/50 time: [58.211 ns 58.342 ns 58.488 ns]
thrpt: [815.27 MiB/s 817.32 MiB/s 819.16 MiB/s]
encode/50 time: [46.523 ns 46.592 ns 46.660 ns]
thrpt: [1021.9 MiB/s 1023.4 MiB/s 1.0009 GiB/s]
change:
- time: [+12.569% +12.876% +13.211%] (p = 0.00 < 0.05)
- thrpt: [-11.670% -11.407% -11.165%]
- Performance has regressed.
+ time: [-20.575% -20.383% -20.196%] (p = 0.00 < 0.05)
+ thrpt: [+25.307% +25.601% +25.905%]
+ Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) low mild

encode/100 time: [75.344 ns 75.517 ns 75.676 ns]
thrpt: [1.2307 GiB/s 1.2333 GiB/s 1.2361 GiB/s]
encode/100 time: [65.344 ns 65.477 ns 65.636 ns]
thrpt: [1.4189 GiB/s 1.4224 GiB/s 1.4253 GiB/s]
change:
- time: [+4.2552% +4.5360% +4.8100%] (p = 0.00 < 0.05)
- thrpt: [-4.5893% -4.3392% -4.0815%]
- Performance has regressed.
+ time: [-13.333% -13.047% -12.780%] (p = 0.00 < 0.05)
+ thrpt: [+14.653% +15.005% +15.384%]
+ Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) high mild

encode/500 time: [219.94 ns 220.47 ns 220.97 ns]
thrpt: [2.1073 GiB/s 2.1122 GiB/s 2.1173 GiB/s]
encode/500 time: [220.04 ns 221.31 ns 222.76 ns]
thrpt: [2.0904 GiB/s 2.1041 GiB/s 2.1163 GiB/s]
change:
+ time: [-17.618% -17.338% -17.065%] (p = 0.00 < 0.05)
+ thrpt: [+20.576% +20.975% +21.385%]
+ time: [-3.1167% -2.5568% -1.9598%] (p = 0.00 < 0.05)
+ thrpt: [+1.9990% +2.6238% +3.2170%]
+ Performance has improved.
Found 20 outliers among 100 measurements (20.00%)
9 (9.00%) low mild
7 (7.00%) high mild
4 (4.00%) high severe

encode/3072 time: [1.0667 µs 1.0689 µs 1.0712 µs]
thrpt: [2.6708 GiB/s 2.6766 GiB/s 2.6821 GiB/s]
encode/3072 time: [1.0243 µs 1.0266 µs 1.0289 µs]
thrpt: [2.7808 GiB/s 2.7869 GiB/s 2.7930 GiB/s]
change:
+ time: [-22.109% -21.906% -21.698%] (p = 0.00 < 0.05)
+ thrpt: [+27.711% +28.050% +28.384%]
+ time: [-4.1981% -3.9159% -3.6448%] (p = 0.00 < 0.05)
+ thrpt: [+3.7827% +4.0755% +4.3821%]
+ Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) high mild

encode/1048576 time: [341.54 µs 342.30 µs 343.13 µs]
thrpt: [2.8460 GiB/s 2.8530 GiB/s 2.8593 GiB/s]
encode/1048576 time: [339.25 µs 339.75 µs 340.27 µs]
thrpt: [2.8699 GiB/s 2.8743 GiB/s 2.8786 GiB/s]
change:
+ time: [-21.790% -21.555% -21.273%] (p = 0.00 < 0.05)
+ thrpt: [+27.021% +27.478% +27.860%]
+ time: [-2.2247% -1.7897% -1.4088%] (p = 0.00 < 0.05)
+ thrpt: [+1.4289% +1.8223% +2.2753%]
+ Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe
Found 15 outliers among 100 measurements (15.00%)
2 (2.00%) low severe
8 (8.00%) low mild
3 (3.00%) high mild
2 (2.00%) high severe

encode/5242880 time: [1.9835 ms 1.9890 ms 1.9958 ms]
thrpt: [2.4465 GiB/s 2.4549 GiB/s 2.4618 GiB/s]
encode/5242880 time: [1.9869 ms 1.9930 ms 2.0006 ms]
thrpt: [2.4406 GiB/s 2.4500 GiB/s 2.4575 GiB/s]
change:
+ time: [-26.556% -22.305% -19.503%] (p = 0.00 < 0.05)
+ thrpt: [+24.229% +28.708% +36.157%]
+ Performance has improved.
Found 13 outliers among 100 measurements (13.00%)
7 (7.00%) high mild
6 (6.00%) high severe
time: [-1.0978% -0.6490% -0.1858%] (p = 0.01 < 0.05)
thrpt: [+0.1862% +0.6532% +1.1100%]
Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
2 (2.00%) high mild
2 (2.00%) high severe

encode/10485760 time: [4.0818 ms 4.0885 ms 4.0958 ms]
thrpt: [2.3843 GiB/s 2.3886 GiB/s 2.3925 GiB/s]
encode/10485760 time: [4.1619 ms 4.1677 ms 4.1734 ms]
thrpt: [2.3399 GiB/s 2.3432 GiB/s 2.3464 GiB/s]
change:
+ time: [-20.719% -20.490% -20.254%] (p = 0.00 < 0.05)
+ thrpt: [+25.398% +25.771% +26.133%]
+ Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
7 (7.00%) high mild
3 (3.00%) high severe
time: [+0.8847% +1.1634% +1.4275%] (p = 0.00 < 0.05)
thrpt: [-1.4074% -1.1500% -0.8769%]
Change within noise threshold.



decode/3 time: [30.792 ns 30.850 ns 30.906 ns]
thrpt: [92.572 MiB/s 92.739 MiB/s 92.916 MiB/s]
decode/3 time: [30.721 ns 30.739 ns 30.758 ns]
thrpt: [93.016 MiB/s 93.076 MiB/s 93.129 MiB/s]
change:
time: [-1.0133% -0.7076% -0.4067%] (p = 0.00 < 0.05)
thrpt: [+0.4083% +0.7126% +1.0237%]
time: [-0.7527% -0.5785% -0.3978%] (p = 0.00 < 0.05)
thrpt: [+0.3994% +0.5819% +0.7584%]
Change within noise threshold.
Found 27 outliers among 100 measurements (27.00%)
14 (14.00%) low severe
2 (2.00%) low mild
4 (4.00%) high mild
Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) high mild
7 (7.00%) high severe

decode/50 time: [47.574 ns 47.675 ns 47.778 ns]
thrpt: [998.03 MiB/s 1000.2 MiB/s 1002.3 MiB/s]
decode/50 time: [45.579 ns 45.609 ns 45.640 ns]
thrpt: [1.0203 GiB/s 1.0210 GiB/s 1.0217 GiB/s]
change:
+ time: [-17.468% -17.272% -17.071%] (p = 0.00 < 0.05)
+ thrpt: [+20.585% +20.878% +21.165%]
+ time: [-5.8084% -5.3462% -5.0350%] (p = 0.00 < 0.05)
+ thrpt: [+5.3019% +5.6482% +6.1666%]
+ Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
1 (1.00%) low severe
1 (1.00%) low mild
1 (1.00%) high mild
3 (3.00%) high severe

decode/100 time: [64.909 ns 65.197 ns 65.502 ns]
thrpt: [1.4218 GiB/s 1.4285 GiB/s 1.4348 GiB/s]
decode/100 time: [60.543 ns 60.745 ns 61.003 ns]
thrpt: [1.5267 GiB/s 1.5332 GiB/s 1.5383 GiB/s]
change:
+ time: [-23.427% -23.134% -22.836%] (p = 0.00 < 0.05)
+ thrpt: [+29.594% +30.097% +30.594%]
+ time: [-7.4295% -6.9413% -6.4610%] (p = 0.00 < 0.05)
+ thrpt: [+6.9073% +7.4590% +8.0258%]
+ Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
2 (2.00%) low mild
3 (3.00%) high mild
5 (5.00%) high severe
Found 17 outliers among 100 measurements (17.00%)
7 (7.00%) high mild
10 (10.00%) high severe

decode/500 time: [226.44 ns 226.86 ns 227.23 ns]
thrpt: [2.0493 GiB/s 2.0526 GiB/s 2.0564 GiB/s]
decode/500 time: [205.07 ns 205.34 ns 205.62 ns]
thrpt: [2.2647 GiB/s 2.2677 GiB/s 2.2707 GiB/s]
change:
+ time: [-31.013% -30.694% -30.388%] (p = 0.00 < 0.05)
+ thrpt: [+43.654% +44.287% +44.955%]
+ time: [-10.905% -10.754% -10.600%] (p = 0.00 < 0.05)
+ thrpt: [+11.857% +12.050% +12.240%]
+ Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) low mild
1 (1.00%) high mild
Found 6 outliers among 100 measurements (6.00%)
3 (3.00%) low mild
2 (2.00%) high mild
1 (1.00%) high severe

decode/3072 time: [1.1513 µs 1.1545 µs 1.1574 µs]
thrpt: [2.4718 GiB/s 2.4781 GiB/s 2.4851 GiB/s]
decode/3072 time: [988.01 ns 989.24 ns 990.89 ns]
thrpt: [2.8873 GiB/s 2.8921 GiB/s 2.8957 GiB/s]
change:
+ time: [-33.585% -33.398% -33.192%] (p = 0.00 < 0.05)
+ thrpt: [+49.684% +50.146% +50.569%]
+ time: [-15.152% -14.993% -14.827%] (p = 0.00 < 0.05)
+ thrpt: [+17.409% +17.638% +17.857%]
+ Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
3 (3.00%) low mild
3 (3.00%) high mild
1 (1.00%) high severe
Found 18 outliers among 100 measurements (18.00%)
2 (2.00%) low severe
4 (4.00%) low mild
6 (6.00%) high mild
6 (6.00%) high severe

decode/1048576 time: [368.97 µs 369.97 µs 370.99 µs]
thrpt: [2.6323 GiB/s 2.6396 GiB/s 2.6467 GiB/s]
decode/1048576 time: [322.66 µs 323.88 µs 326.30 µs]
thrpt: [2.9928 GiB/s 3.0152 GiB/s 3.0266 GiB/s]
change:
+ time: [-34.908% -34.664% -34.408%] (p = 0.00 < 0.05)
+ thrpt: [+52.457% +53.056% +53.628%]
+ time: [-13.349% -12.933% -12.471%] (p = 0.00 < 0.05)
+ thrpt: [+14.248% +14.854% +15.406%]
+ Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
Found 12 outliers among 100 measurements (12.00%)
1 (1.00%) low severe
1 (1.00%) low mild
5 (5.00%) high mild
5 (5.00%) high severe

decode/5242880 time: [2.0457 ms 2.0554 ms 2.0654 ms]
thrpt: [2.3641 GiB/s 2.3756 GiB/s 2.3868 GiB/s]
decode/5242880 time: [1.7719 ms 1.7778 ms 1.7868 ms]
thrpt: [2.7327 GiB/s 2.7465 GiB/s 2.7556 GiB/s]
change:
+ time: [-32.274% -31.658% -31.155%] (p = 0.00 < 0.05)
+ thrpt: [+45.253% +46.322% +47.654%]
+ time: [-12.407% -12.070% -11.644%] (p = 0.00 < 0.05)
+ thrpt: [+13.178% +13.727% +14.164%]
+ Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
1 (1.00%) high mild
9 (9.00%) high severe

decode/10485760 time: [4.0950 ms 4.1065 ms 4.1190 ms]
thrpt: [2.3708 GiB/s 2.3781 GiB/s 2.3848 GiB/s]
decode/10485760 time: [3.5972 ms 3.6043 ms 3.6119 ms]
thrpt: [2.7038 GiB/s 2.7095 GiB/s 2.7148 GiB/s]
change:
+ time: [-35.882% -35.125% -34.440%] (p = 0.00 < 0.05)
+ thrpt: [+52.531% +54.142% +55.963%]
+ time: [-12.009% -11.800% -11.586%] (p = 0.00 < 0.05)
+ thrpt: [+13.104% +13.379% +13.648%]
+ Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high mild
6 (6.00%) high severe



Expand Down

0 comments on commit 344e89f

Please sign in to comment.