Profiling code: multiprocessing.Process sometimes takes 3 seconds to run _Popen

It is not available even though I use the official docker image for Python. I wonder why is that.

I also found few interesting parts of the official Python documentation:

Changed in version 3.12: If Python is able to detect that your process has multiple threads, the os.fork() function that this start method calls internally will raise a DeprecationWarning. Use a different start method. See the os.fork() documentation for further explanation.