add validate main
Merge remote-tracking branch 'origin/yxcntu' into GL
Add performance test method