智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/c3/c3670318b32b7ccd9d11eafcedc...

7 lines
233 B

3 years ago
export function perf (type, startTime) {
/* eslint-disable no-undef */
startTime = startTime || __UniServiceStartTime__
const endTime = Date.now()
console.log(`[PERF][${endTime}] ${type} 耗时[${Date.now() - startTime}]`)
}