pytest实测pytest 实测:300 个用例 4 秒,1.7 秒在跑pytest 自己报 1.72 秒跑完 300 个用例,墙钟是 4.07 秒,固定开销占了 2.2 秒。Python★ 14,627MIT2026-10-22↗