impl for win_perf
replace some common libs