add doc for performance test & fix a bug

add doc for performance test & fix a bug