Why is python slower inside a docker container?
Why is python slower inside a docker container? Question: The following small code snippet times how long adding a bunch of numbers takes. import gc from time import process_time_ns gc.disable() # disable garbage collection for func in [ process_time_ns, ]: pre = func() s = 0 for a in range(100000): for b in range(100): s …