diff --git a/README.md b/README.md index 7e69531..6f50532 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Place input files in `input/yearYYYY/dayDD.txt` including leading zeroes. For ex ## Performance Benchmarks are measured using the built-in `cargo bench` tool run on an [Apple M2 Max][apple-link]. -All 250 solutions from 2024 to 2015 complete sequentially in **584 milliseconds**. +All 250 solutions from 2024 to 2015 complete sequentially in **580 milliseconds**. Interestingly 84% of the total time is spent on just 9 solutions. Performance is reasonable even on older hardware, for example a 2011 MacBook Pro with an [Intel i7-2720QM][intel-link] processor takes 3.5 seconds to run the same 225 solutions. @@ -62,7 +62,7 @@ Performance is reasonable even on older hardware, for example a 2011 MacBook Pro | Year | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| Benchmark (ms) | 24 | 120 | 89 | 35 | 16 | 272 | 9 | 8 | 6 | 5 | +| Benchmark (ms) | 24 | 119 | 88 | 35 | 16 | 270 | 9 | 8 | 6 | 5 | ## 2024 diff --git a/docs/pie-all.svg b/docs/pie-all.svg index dd357c3..ae19660 100644 --- a/docs/pie-all.svg +++ b/docs/pie-all.svg @@ -2,11 +2,11 @@ %%{init: {"themeVariables": { "pie1": "#7cb5ec", "pie2": "#90ed7d", "pie3": "#f7a35c", "pie4": "#e4d354", "pie5": "#e4c4fb", "pie6": "#c6cdd5", "pie7": "#91e8e1"}}}%% pie title Each year benchmark time by % of total - "Year 2020" : 272 - "Year 2016" : 120 - "Year 2017" : 89 + "Year 2020" : 270 + "Year 2016" : 119 + "Year 2017" : 88 "Year 2018" : 35 - "Years 2021 - 2024": 29 + "Years 2021 - 2024": 28 "Year 2015" : 24 "Year 2019" : 16 --> @@ -20,20 +20,20 @@ pie - - - - - - - - 46% - 21% - 15% - 6% - 5% - 4% - 3% + + + + + + + + 47% + 21% + 15% + 6% + 5% + 4% + 3% Each year benchmark time by % of total