Skip to content

Commit

Permalink
docs: add benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Dec 9, 2023
1 parent 18518d8 commit aabb214
Showing 1 changed file with 188 additions and 151 deletions.
339 changes: 188 additions & 151 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,56 +177,56 @@ Collection of my Advent of Code solutions in an overkill project setup 👻🎄.

| day | part | duration |
| :---: | :---: | -------: |
| 01 | part one | 0.26 ms |
| 01 | part two | 0.10 ms |
| 02 | part one | 1.35 ms |
| 02 | part two | 1.25 ms |
| 03 | part one | 2.09 ms |
| 03 | part two | 2.74 ms |
| 04 | part one | 69.34 ms |
| 04 | part two | 2313.25 ms |
| 05 | part one | 1.13 ms |
| 05 | part two | 1.71 ms |
| 06 | part one | 4679.82 ms |
| 06 | part two | 5410.21 ms |
| 07 | part one | 1.08 ms |
| 07 | part two | 1.96 ms |
| 08 | part one | 0.79 ms |
| 08 | part two | 0.31 ms |
| 09 | part one | 73.47 ms |
| 09 | part two | 73.43 ms |
| 10 | part one | 230.93 ms |
| 10 | part two | 3286.25 ms |
| 10 | part two method 2 | 2748.97 ms |
| 01 | part one | 0.18 ms |
| 01 | part two | 0.07 ms |
| 02 | part one | 0.82 ms |
| 02 | part two | 0.81 ms |
| 03 | part one | 1.43 ms |
| 03 | part two | 1.84 ms |
| 04 | part one | 63.88 ms |
| 04 | part two | 2104.66 ms |
| 05 | part one | 0.82 ms |
| 05 | part two | 1.23 ms |
| 06 | part one | 3644.99 ms |
| 06 | part two | 4009.98 ms |
| 07 | part one | 0.79 ms |
| 07 | part two | 1.50 ms |
| 08 | part one | 0.75 ms |
| 08 | part two | 0.26 ms |
| 09 | part one | 70.58 ms |
| 09 | part two | 69.41 ms |
| 10 | part one | 163.72 ms |
| 10 | part two | 2324.85 ms |
| 10 | part two method 2 | 1818.54 ms |
| 11 | part one | 0.01 ms |
| 11 | part two | 0.02 ms |
| 12 | part one | 0.83 ms |
| 12 | part two | 0.76 ms |
| 13 | part one | 85.51 ms |
| 13 | part two | 830.37 ms |
| 14 | part one | 17.12 ms |
| 14 | part two | 16.79 ms |
| 15 | part one | 589.65 ms |
| 15 | part two | 213.10 ms |
| 16 | part one | 0.77 ms |
| 16 | part two | 0.83 ms |
| 17 | part one | 145.47 ms |
| 17 | part two | 73.36 ms |
| 18 | part one | 2510.50 ms |
| 18 | part two | 2597.14 ms |
| 19 | part one | 2.52 ms |
| 19 | part two | 0.22 ms |
| 20 | part one | 3342.81 ms |
| 20 | part two | 994.83 ms |
| 21 | part one | 3.82 ms |
| 21 | part two | 3.74 ms |
| 22 | part one | 169.75 ms |
| 22 | part two | 125.42 ms |
| 23 | part one | 0.53 ms |
| 23 | part two | 0.72 ms |
| 24 | part one | 68.98 ms |
| 24 | part two | 2.73 ms |
| 25 | part one | 2065.85 ms |
| 11 | part two | 0.01 ms |
| 12 | part one | 0.67 ms |
| 12 | part two | 0.58 ms |
| 13 | part one | 62.37 ms |
| 13 | part two | 591.21 ms |
| 14 | part one | 10.78 ms |
| 14 | part two | 10.91 ms |
| 15 | part one | 354.25 ms |
| 15 | part two | 122.69 ms |
| 16 | part one | 0.56 ms |
| 16 | part two | 0.54 ms |
| 17 | part one | 89.65 ms |
| 17 | part two | 62.17 ms |
| 18 | part one | 1556.96 ms |
| 18 | part two | 1652.36 ms |
| 19 | part one | 1.81 ms |
| 19 | part two | 0.20 ms |
| 20 | part one | 2908.12 ms |
| 20 | part two | 808.20 ms |
| 21 | part one | 1.96 ms |
| 21 | part two | 1.97 ms |
| 22 | part one | 137.49 ms |
| 22 | part two | 92.94 ms |
| 23 | part one | 0.45 ms |
| 23 | part two | 0.59 ms |
| 24 | part one | 44.01 ms |
| 24 | part two | 1.58 ms |
| 25 | part one | 1147.08 ms |
| 25 | part two | 0.00 ms |

</p>
Expand All @@ -238,39 +238,39 @@ Collection of my Advent of Code solutions in an overkill project setup 👻🎄.

| day | part | duration |
| :---: | :---: | -------: |
| 01 | part one | 0.10 ms |
| 01 | part two | 100.96 ms |
| 02 | part one | 2.98 ms |
| 02 | part two | 2.58 ms |
| 03 | part one | 0.08 ms |
| 01 | part one | 0.09 ms |
| 01 | part two | 60.98 ms |
| 02 | part one | 12.48 ms |
| 02 | part two | 1.67 ms |
| 03 | part one | 0.07 ms |
| 03 | part two | 0.32 ms |
| 04 | part one | 0.62 ms |
| 04 | part two | 1.32 ms |
| 05 | part one | 7.15 ms |
| 05 | part two | 2.33 ms |
| 05 | part one binary version | 0.31 ms |
| 06 | part one | 0.90 ms |
| 06 | part two | 1.05 ms |
| 07 | part one | 66.01 ms |
| 07 | part two | 1.03 ms |
| 08 | part one | 0.35 ms |
| 08 | part two | 19.13 ms |
| 09 | part one | 0.57 ms |
| 09 | part two | 869.93 ms |
| 10 | part one | 0.03 ms |
| 04 | part one | 0.47 ms |
| 04 | part two | 0.92 ms |
| 05 | part one | 4.97 ms |
| 05 | part two | 2.05 ms |
| 05 | part one binary version | 0.21 ms |
| 06 | part one | 0.69 ms |
| 06 | part two | 0.86 ms |
| 07 | part one | 36.14 ms |
| 07 | part two | 0.75 ms |
| 08 | part one | 0.31 ms |
| 08 | part two | 16.61 ms |
| 09 | part one | 0.44 ms |
| 09 | part two | 630.06 ms |
| 10 | part one | 0.02 ms |
| 10 | part two | 0.04 ms |
| 11 | part one | 2694.32 ms |
| 11 | part two | 2431.31 ms |
| 12 | part one | 0.35 ms |
| 12 | part two | 0.32 ms |
| 13 | part one | 0.15 ms |
| 13 | part two | 0.07 ms |
| 14 | part one | 1.41 ms |
| 14 | part two | 399.56 ms |
| 15 | part one | 0.14 ms |
| 15 | part two | 5155.87 ms |
| 16 | part one | 1.20 ms |
| 16 | part two | 5.37 ms |
| 11 | part one | 1984.17 ms |
| 11 | part two | 1681.29 ms |
| 12 | part one | 0.22 ms |
| 12 | part two | 0.20 ms |
| 13 | part one | 0.12 ms |
| 13 | part two | 0.05 ms |
| 14 | part one | 1.04 ms |
| 14 | part two | 324.63 ms |
| 15 | part one | 0.12 ms |
| 15 | part two | 4429.71 ms |
| 16 | part one | 0.88 ms |
| 16 | part two | 4.57 ms |

</p>
</details>
Expand All @@ -281,56 +281,56 @@ Collection of my Advent of Code solutions in an overkill project setup 👻🎄.

| day | part | duration |
| :---: | :---: | -------: |
| 01 | part one | 0.20 ms |
| 01 | part two | 0.94 ms |
| 01 | part two reuse part one | 0.67 ms |
| 02 | part one | 0.44 ms |
| 02 | part two | 0.44 ms |
| 03 | part one | 0.77 ms |
| 03 | part two | 2.28 ms |
| 04 | part one | 8.50 ms |
| 04 | part two | 17.83 ms |
| 05 | part one | 30.36 ms |
| 05 | part two | 56.91 ms |
| 06 | part one | 0.06 ms |
| 06 | part two | 0.09 ms |
| 06 | part two faster | 0.07 ms |
| 07 | part one | 0.25 ms |
| 07 | part two | 0.46 ms |
| 08 | part one | 0.20 ms |
| 08 | part two | 1.60 ms |
| 09 | part one | 8.45 ms |
| 09 | part two | 11.68 ms |
| 09 | part two async | 13.68 ms |
| 09 | part two mp | 110.25 ms |
| 10 | part one | 1.07 ms |
| 10 | part two | 2.20 ms |
| 11 | part one | 6.76 ms |
| 11 | part two | 15.22 ms |
| 12 | part one | 15.36 ms |
| 12 | part two | 502.81 ms |
| 13 | part one | 0.52 ms |
| 13 | part two | 1.05 ms |
| 14 | part one | 0.39 ms |
| 14 | part two | 1.45 ms |
| 15 | part one | 29.67 ms |
| 15 | part two | 772.44 ms |
| 16 | part one | 0.51 ms |
| 16 | part two | 0.50 ms |
| 17 | part one | 146.62 ms |
| 17 | part two | 1363.19 ms |
| 01 | part one | 0.15 ms |
| 01 | part two | 0.58 ms |
| 01 | part two reuse part one | 0.48 ms |
| 02 | part one | 0.28 ms |
| 02 | part two | 0.28 ms |
| 03 | part one | 0.57 ms |
| 03 | part two | 1.28 ms |
| 04 | part one | 6.66 ms |
| 04 | part two | 14.70 ms |
| 05 | part one | 25.71 ms |
| 05 | part two | 47.82 ms |
| 06 | part one | 0.05 ms |
| 06 | part two | 0.08 ms |
| 06 | part two faster | 0.06 ms |
| 07 | part one | 0.18 ms |
| 07 | part two | 0.32 ms |
| 08 | part one | 0.15 ms |
| 08 | part two | 1.34 ms |
| 09 | part one | 8.81 ms |
| 09 | part two | 8.72 ms |
| 09 | part two async | 10.15 ms |
| 09 | part two mp | 98.82 ms |
| 10 | part one | 0.60 ms |
| 10 | part two | 1.27 ms |
| 11 | part one | 3.75 ms |
| 11 | part two | 8.69 ms |
| 12 | part one | 10.94 ms |
| 12 | part two | 346.55 ms |
| 13 | part one | 0.51 ms |
| 13 | part two | 0.80 ms |
| 14 | part one | 0.34 ms |
| 14 | part two | 1.18 ms |
| 15 | part one | 17.03 ms |
| 15 | part two | 579.16 ms |
| 16 | part one | 0.39 ms |
| 16 | part two | 0.36 ms |
| 17 | part one | 94.93 ms |
| 17 | part two | 869.35 ms |
| 17 | part one quick maths | 0.01 ms |
| 18 | part one | 113.40 ms |
| 18 | part two | 1824.46 ms |
| 19 | part one | 380.54 ms |
| 19 | part two | 381.60 ms |
| 20 | part one | 52.87 ms |
| 20 | part two | 2918.75 ms |
| 21 | part one | 0.42 ms |
| 21 | part two | 183.55 ms |
| 22 | part one | 361.24 ms |
| 22 | part two | 2444.70 ms |
| 25 | part one | 16343.37 ms |
| 18 | part one | 87.66 ms |
| 18 | part two | 1414.66 ms |
| 19 | part one | 280.30 ms |
| 19 | part two | 282.99 ms |
| 20 | part one | 34.43 ms |
| 20 | part two | 1869.81 ms |
| 21 | part one | 0.20 ms |
| 21 | part two | 122.34 ms |
| 22 | part one | 305.43 ms |
| 22 | part two | 1282.90 ms |
| 25 | part one | 12702.95 ms |

</p>
</details>
Expand All @@ -341,28 +341,65 @@ Collection of my Advent of Code solutions in an overkill project setup 👻🎄.

| day | part | duration |
| :---: | :---: | -------: |
| 01 | part one | 0.21 ms |
| 01 | part two | 0.23 ms |
| 02 | part one | 1.35 ms |
| 02 | part two | 1.27 ms |
| 02 | part one with mapping | 0.14 ms |
| 02 | part two with mapping | 0.11 ms |
| 03 | part one | 0.48 ms |
| 03 | part two | 0.37 ms |
| 04 | part one | 0.80 ms |
| 04 | part two | 2.26 ms |
| 05 | part one | 0.82 ms |
| 05 | part two | 0.63 ms |
| 06 | part one | 0.46 ms |
| 06 | part two | 1.45 ms |
| 07 | part one | 8.95 ms |
| 07 | part two | 8.68 ms |
| 08 | part one | 135.83 ms |
| 08 | part two | 16.53 ms |
| 09 | part one | 7.71 ms |
| 09 | part two | 40.68 ms |
| 10 | part one | 0.05 ms |
| 10 | part two | 0.09 ms |
| 01 | part one | 0.15 ms |
| 01 | part two | 0.17 ms |
| 02 | part one | 0.86 ms |
| 02 | part two | 0.87 ms |
| 02 | part one with mapping | 0.10 ms |
| 02 | part two with mapping | 0.08 ms |
| 03 | part one | 0.39 ms |
| 03 | part two | 0.32 ms |
| 04 | part one | 0.51 ms |
| 04 | part two | 1.73 ms |
| 05 | part one | 0.64 ms |
| 05 | part two | 0.49 ms |
| 06 | part one | 0.31 ms |
| 06 | part two | 1.15 ms |
| 07 | part one | 6.53 ms |
| 07 | part two | 6.40 ms |
| 08 | part one | 108.32 ms |
| 08 | part two | 11.82 ms |
| 09 | part one | 4.74 ms |
| 09 | part two | 23.88 ms |
| 10 | part one | 0.04 ms |
| 10 | part two | 0.07 ms |
| 11 | part one | 0.62 ms |
| 11 | part two | 288.57 ms |
| 13 | part one | 1.11 ms |
| 13 | part two | 67.07 ms |
| 14 | part one | 11.72 ms |
| 14 | part two | 423.37 ms |
| 15 | part one | 1856.95 ms |
| 15 | part two | 3149.72 ms |

</p>
</details>

### 2023
<details><summary>Benchmarks for 2023</summary>
<p>

| day | part | duration |
| :---: | :---: | -------: |
| 01 | part one | 0.49 ms |
| 01 | part two | 2.30 ms |
| 02 | part one | 0.35 ms |
| 02 | part two | 0.46 ms |
| 03 | part one | 2.43 ms |
| 03 | part two | 2.39 ms |
| 04 | part one | 1.40 ms |
| 04 | part two | 1.57 ms |
| 05 | part one | 2.97 ms |
| 05 | part two | 287.21 ms |
| 06 | part one | 0.04 ms |
| 06 | part two | 4817.99 ms |
| 06 | part two quadratic | 0.02 ms |
| 07 | part one | 18.39 ms |
| 07 | part two | 32.21 ms |
| 08 | part one | 2.05 ms |
| 08 | part two | 18.14 ms |
| 09 | part one | 2.41 ms |
| 09 | part two | 2.54 ms |

</p>
</details>
Expand Down

0 comments on commit aabb214

Please sign in to comment.