프로파일링
-
Clinic.js로 Node.js 서버 프로파일링 하기🏢 업무 리서치 기록 2023. 1. 17.
Clinic.js는 Node.js 런타임 분석도구로 Doctor, Flame, Bubbleprof, Heap Profiler의 4가지 분석 도구를 지원해준다. 설치 $ npm install -g clinic 사용하기 1. 프로파일링 실행 아래 명령어로 프로파일링 할 Node.js 애플리케이션을 시작 할 수 있다. Nest.js 로 작성된 서버로 테스트 해보았다. $ clinic doctor -- node dist/main To generate the report press: Ctrl + C [Nest] 51844 - 2023. 01. 16. 오후 8:31:28 LOG [NestFactory] Starting Nest application... [Nest] 51844 - 2023. 01. 16. 오후 8:..