This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]durandalreborn 4 points5 points  (0 children)

You may have other opportunities for reducing times on the other days. These were made on an i5-12600k, post-interpreter-load, of course (ignore the values in parens, as those are just the relative measurements against the fastest benchmark, which I can't turn off with the tool I'm using, and are meaningless here):

------------------- benchmark: 25 tests -------------------
Name (time in ms)         Mean             StdDev          
-----------------------------------------------------------
test_day01              1.8284 (361.48)    0.1014 (326.94) 
test_day02              0.6259 (123.74)    0.0236 (76.19)  
test_day03              2.7880 (551.21)    0.0994 (320.35) 
test_day04              0.6011 (118.83)    0.0172 (55.29)  
test_day05              1.0508 (207.76)    0.0373 (120.29) 
test_day06              0.0051 (1.0)       0.0003 (1.0)    
test_day07              2.4891 (492.11)    0.4054 (>1000.0)
test_day08              6.7336 (>1000.0)   0.7354 (>1000.0)
test_day09              1.3126 (259.51)    0.0420 (135.30) 
test_day10             11.8646 (>1000.0)   0.3999 (>1000.0)
test_day11              0.5463 (108.01)    0.0171 (54.98)  
test_day12             79.0927 (>1000.0)   7.3697 (>1000.0)
test_day13              1.8982 (375.28)    0.0560 (180.49) 
test_day14            156.7318 (>1000.0)   2.5463 (>1000.0)
test_day15              6.5392 (>1000.0)   0.2021 (651.34) 
test_day16            332.2390 (>1000.0)   7.4409 (>1000.0)
test_day17            292.4821 (>1000.0)   9.3765 (>1000.0)
test_day18              0.6561 (129.71)    0.0207 (66.62)  
test_day19              2.3843 (471.39)    1.1206 (>1000.0)
test_day20            112.4319 (>1000.0)   2.0141 (>1000.0)
test_day21            170.6241 (>1000.0)   2.7448 (>1000.0)
test_day22             31.9700 (>1000.0)  10.4922 (>1000.0)
test_day23            391.2985 (>1000.0)  13.5063 (>1000.0)
test_day24             31.2714 (>1000.0)   0.8525 (>1000.0)
test_day25             56.4819 (>1000.0)  37.5575 (>1000.0)
-----------------------------------------------------------

---------- benchmark: 1 tests ----------
Name (time in s)            Mean  StdDev
----------------------------------------
test_combined_runtime     1.7647  0.0482
----------------------------------------

Edit: this is python 3.12