only collect perf data in the construction logic