From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/tools/performance/index.html | 94 +++++++++++++++++++ files/ko/tools/performance/ui_tour/index.html | 127 ++++++++++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 files/ko/tools/performance/index.html create mode 100644 files/ko/tools/performance/ui_tour/index.html (limited to 'files/ko/tools/performance') diff --git a/files/ko/tools/performance/index.html b/files/ko/tools/performance/index.html new file mode 100644 index 0000000000..8a1784f43b --- /dev/null +++ b/files/ko/tools/performance/index.html @@ -0,0 +1,94 @@ +--- +title: 성능 측정 도구 +slug: Tools/Performance +translation_of: Tools/Performance +--- +
{{ToolsSidebar}}

성능 도구(Performance tool)는 반응형, 자바 스크립트, 그리고 레이아웃의 성능에 대한 전반적인 통찰력을 줍니다.

+ +

성능 도구를 사용하여 특정 시간 동안 사이트를 기록하고 프로파일링을 할 수 있습니다. 이를 이용하면 브라우저가 사이트를 렌더링 하는 중에 일어나는 상황을 한 눈에 보여주고, 프레임 레이트의 그래프를 그려줍니다.

+ +

성능 도구는 더 자세한 분석을 위해 세 가지 보조 도구들을 지원합니다 :

+ + + +

{{EmbedYouTube("WBmttwfA_k8")}}

+ +
+

시작하기

+ +
+
+
+
UI 투어
+
+

성능 도구를 사용하는 방법을 찾아보려면 UI에 대한 퀵투어가 있습니다.

+
+
+
+ +
+
+
시작 방법
+
기본적인 업무: 도구를 열기, 생성, 저장, 로드하고 녹화를 설정합니다.
+
 
+
+
+
+ +
+

성능 도구의 구성요소

+ +
+
+
+
프레임 레이트
+
당신의 사이트의 전반적인 반응형을 이해합니다.
+
콜트리
+
당신의 사이트의 자바스크립트에서 부하가 걸리는 부분을 찾습니다.
+
+
+ +
+
+
워터폴
+
사용자가 당신의 사이트와 상호작용할때 브라우저가 어떻게 작용하는지 이해합니다. 
+
프레임 차트
+
녹화되는 동안에 어떤 자바스크립트 함수들이 언제 수행되는 지 봅니다.
+
+
+
+ +
+

시나리오

+ +
+
+
+
 CSS 애니메이팅
+
워터폴을 사용하여 어떻게 브라우저가 페이지를 업데이트하고, CSS 속성들이 어떻게 성능에 영향을 주는지 알아보세요.
+
 
+
 
+
+
+ +
+
+
인텐시브한 자바스크립트
+
프레임레이트와 워터폴을 사용하면 장기간 실행되는 자바스크립트로 인해서 발생되는 수행상의 문제들과 workers를 사용하는 것이 이 상황에서 어떻게 도움이 되는지 강조해서 표시합니다.
+
+
+
+ +

 

+ +
+
+
 
+
+
+ +

 

diff --git a/files/ko/tools/performance/ui_tour/index.html b/files/ko/tools/performance/ui_tour/index.html new file mode 100644 index 0000000000..f32605ba3e --- /dev/null +++ b/files/ko/tools/performance/ui_tour/index.html @@ -0,0 +1,127 @@ +--- +title: UI Tour +slug: Tools/Performance/UI_Tour +translation_of: Tools/Performance/UI_Tour +--- +
{{ToolsSidebar}}

The performance tool's UI consists of 4 main pieces:

+ +

+ + + +

Toolbar

+ +

Toolbar는 다음과 같은 버튼을 포함합니다:

+ + + +

+ +

Recordings pane

+ +

The recordings pane lists all the recordings you have loaded, including any you have made in this session and any you have imported.

+ +

+ +

At any given time, one recording is selected, and that recording is displayed in the rest of the tool. To select a different recording, click its entry in the pane. To save the recording as a JSON file click "Save".

+ +

Recording overview

+ +

This displays an overview of the entire recording, with the x-axis representing time.

+ +

+ +

It contains two elements: an overview of the Waterfall and a frame rate graph.

+ +

Waterfall overview

+ +

This presents a compressed view of the Waterfall:

+ +

+ +

Recorded operations are color-coded using the same scheme as in the main Waterfall view.

+ +

Frame rate graph

+ +

The frame rate gives you an overview of the browser's responsiveness during the recording:

+ +

+ +

See the separate article on frame rate.

+ +

Correlating events

+ +

Because these elements are synchronized, you can correlate events in one element with events in another.

+ +

For example, in the screenshot below a long-running paint operation (shown as a green bar in the waterfall overview) corresponds to a drop in the frame rate:

+ +

+ +

Zooming in

+ +

You can use the overview to select a slice of the recording to examine in more detail. Select a slice, and the main view will be updated to contain just the part selected. In the screenshot below we've selected that drop in the frame rate, and can see the long-running paint operation in more detail:

+ +

+ +

Details pane

+ +

The Details pane shows whichever tool is currently selected. To switch to a different tool, use the buttons in the Toolbar.

+ +

Waterfall

+ +

The Waterfall presents a view of the work the browser is doing during the recording: executing JavaScript, updating the CSS, updating the page layout, and performing repaints. The x-axis represents time, and the recorded operations are laid out as a waterfall, reflecting the serial nature of the browser's execution.

+ +

+ +

To learn much more about the Waterfall, see the separate Waterfall page.

+ +

Call Tree

+ +

The Call Tree is a sampling profiler for JavaScript running in the page. It periodically samples the state of the JavaScript engine, and records the stack for the code executing at the time the sample was taken. Statistically, the number of samples taken in which we were executing a particular function corresponds to the amount of time the browser is spending executing it, so you can identify bottlenecks in your code.

+ +


+ To learn much more about the Call Tree, see the separate Call Tree page.

+ +

Flame Chart

+ +

If the Call Tree tells you, statistically, which functions your site is spending most time executing across the whole recording, the Flame Chart tells you the call stack at any given point during the recording:

+ +

+ +

To learn much more about the Flame Chart, see the separate Flame Chart page.

+ +

Allocations

+ +
+

The Allocations view is new in Firefox 46.

+
+ +

The Allocations view is like the Call Tree view, but for allocations: it shows you which functions in your page are allocating the most memory over the course of the profile.

+ +

+ +

The Allocations view only appears if you checked "Record Allocations" in the Performance tool settings, before recording a profile:

+ +

{{EmbedYouTube("Le9tTo7bqts")}}

+ +

To learn much more about the Allocations view, see the separate Allocations page.

+ +

 

-- cgit v1.2.3-54-g00ecf