Update performance.md

Specify #threads in learning & inference