Skip to content

aphirst/Advent2018

Repository files navigation

Advent2018

My attempts at the Advent of Code 2018.

Benchmarking

Written in Code::Blocks for Fortran. Compiled using GNU Fortran (GCC) 8.2.1 20181127.

ProblemThinkPad T430
i7-3520M CPU @ 2.90GHz
ThinkPad X230
i5-3320M CPU @ 2.60GHz
ODROID-XU4 (big.LITTLE)
ARM Cortex-A15 @ 2.10GHz
ARM Cortex-A7 @ 1.50GHz
Input Part 1 Part 2 Input Part 1 Part 2 Input Part 1 Part 2
01 0.011 s0.000 s0.009 s 0.010 s0.000 s0.009 s 0.032 s0.000 s0.019 s
02 0.013 s0.000 s0.004 s 0.011 s0.000 s0.004 s 0.031 s0.001 s0.009 s
03 0.014 s0.003 s0.002 s 0.013 s0.003 s0.003 s 0.046 s0.021 s0.005 s
04 0.032 s0.000 s0.000 s 0.028 s0.000 s0.000 s 0.077 s0.000 s0.001 s
05 0.016 s0.003 s0.028 s 0.016 s0.004 s0.035 s 0.047 s0.011 s0.083 s
06 0.011 s0.011 s0.002 s 0.011 s0.012 s0.003 s 0.036 s0.034 s0.017 s
07 0.011 s0.000 s0.000 s 0.012 s0.000 s0.000 s 0.035 s0.000 s0.000 s
08 0.015 s0.000 s0.000 s 0.017 s0.000 s0.000 s 0.047 s0.001 s0.000 s
09 0.000 s0.003 s0.277 s 0.000 s0.003 s0.369 s 0.000 s0.008 s0.994 s
10 0.015 s0.000 s0.000 s 0.013 s0.000 s0.000 s 0.041 s0.000 s0.000 s
11 0.000 s0.003 s0.039 s 0.000 s0.004 s0.041 s 0.000 s0.013 s0.097 s
Total0.536 s0.643 s1.666 s

Note: Final routine time is taken before any explicit destructor calls, some of which take upwards of 0.100s to complete.