time consume Use performance.now() diff [스압/데이터주의] 웹 최적화 방식 모음 - 0. 전반적 원칙과 원리그동안 경험상 전반적 구조 파악에는 퍼포먼스 개선하는게 짱짱이라 적게되었습니다. 이 문서는 완전히 완성된 상태가 아니라 시간이 나면 업데이트 중. 혹시 이외에도 재미있는 팁을 아시는 분이 있다면 댓글로 알려주세요. 모바일이나 기타 프로그래밍/전공 경험과 지식을 살려봤습니다. 제 블로그 글들을 보면 알겠지만 상당히 장문으로 이루어져 있지만..https://black7375.tistory.com/72How to measure time taken by a function to executeI need to get execution time in milliseconds. I originally asked this question back in 2008. The accepted answer then was to use new Date().getTime() However, we can all agree now that usin...https://stackoverflow.com/questions/313893/how-to-measure-time-taken-by-a-function-to-executeConsole.timeLog()Logs the current value of a timer that was previously started by calling console.time() to the console. See Timers in the documentation for details and examples. console.timeLog(label); The name of the timer to log to the console.https://developer.mozilla.org/en-US/docs/Web/API/Console/timeLog