improved the StartByConfig sample
fixed building error in the performance test server