我正在使用python unittest来测试其他一些外部应用程序,但是需要花费太多时间来逐个运行测试.
我想知道如何通过使用多核的功能来加速这个过程.我可以调整unittest来并行执行测试吗?怎么样?
这个问题不能python GIL限制,因为事实上不是python代码需要时间,而是我执行的外部应用程序,目前通过os.system().
os.system()
python performance multithreading unit-testing multicore
multicore ×1
multithreading ×1
performance ×1
python ×1
unit-testing ×1