Improve test_threads performance
1 file changed