Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 4.12 KB

2023.md

File metadata and controls

32 lines (25 loc) · 4.12 KB

2023

badge

To profile with hyperfine - brew install hyperfine

  • hyperfine --warmup 3 -r 10 '2023/01.py'
  • find 2023 -type f -regex ".*/[0-9]*\.py" -exec hyperfine --warmup 3 -r 10 'python {}' \;
  • python -m cProfile 2023/01.py
  • time python 2023/01.py
  • hyperfine --warmup 3 -r 10 'find 2023 -type f -regex ".*/[0-9]*\.py" | sort -n | xargs -L 1 python ' | tee 2023/benchmark-m1.txt
  • bin/run-all-solutions.py --dir 2023 --write
Day Name Solution CI Benchmark
01 Trebuchet py badge
02 Cube Conundrum py badge
03 Gear Ratios py badge
04 Scratchcards py badge
05 If You Give A Seed A Fertilizer py* badge
----------------------------------------- --------------------------------- ------------------------- ---
all AoC 23 txt badge
  • or ** - external solution adopted

External