์ด์ ์
console.time()
๋ฅผ ํธ์ถํ์ฌ ์์๋ ํ์ด๋จธ๋ฅผ ์ค์งํ๊ณ ์น ์ฝ์์ ๊ฒฝ๊ณผ ์๊ฐ์ ๋ฐ๋ฆฌ์ด ๋จ์๋ก ํ์ํฉ๋๋ค.์์ธํ ๋ด์ฉ๊ณผ ์์ ๋ ์ฝ์ ๋ฌธ์์ Timers๋ฅผ ์ฐธ์กฐํ์ธ์.
์ฃผ์:
์ด ๊ธฐ๋ฅ์ Web Worker์์ ์ฌ์ฉํ ์ ์์ต๋๋ค.๊ตฌ๋ฌธ(Syntax)
console.timeEnd(label);
๋งค๊ฐ ๋ณ์(Parameters)
label
- ์ค์งํ ํ์ด๋จธ์ ์ด๋ฆ์ ๋๋ค. console.time()๋ฅผ ํธ์ถํ ๋์ ์ด๋ฆ์ ์ฌ์ฉํ์ฌ ํด๋น ํ์ด๋จธ๋ฅผ ์ค์งํ ์ ์๋ ์๋ณ์ ์ญํ ์ ํฉ๋๋ค.
๋ช ์ธ์(Specifications)
Specification | Status | Comment |
---|---|---|
Console API The definition of 'console.timeEnd()' in that specification. |
Living Standard | Initial definition |
๋ธ๋ผ์ฐ์ ํธํ์ฑ(Browser compatibility)
BCD tables only load in the browser