重新编译tiflash源码,使用tpch测试,性能与原生tiflash进程差异很大

你用了 debug 模式编译。做性能测试或者生产,请参考这个脚本:
https://github.com/pingcap/tiflash/blob/master/release-centos7-llvm/scripts/build-tiflash-release.sh