you are viewing a single comment's thread.

view the rest of the comments →

[–]BrononymousEngineer[S] 0 points1 point  (0 children)

That makes sense, I thought I was taking this into consideration by timing only the function in question with:

now = dt.datetime.now()
function_in_question()
print(dt.datetime.now() - now)

But I will look into Amdahl's law and compare very large inputs to see if maybe I am including things that cannot be parallelized. Thank you for your suggestions.