speed up train_test_stat

speed up train_test_stat via muti-threading