aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/tools/desempenho/como_fazer/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-pt/tools/desempenho/como_fazer/index.html
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-pt/tools/desempenho/como_fazer/index.html')
-rw-r--r--files/pt-pt/tools/desempenho/como_fazer/index.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/files/pt-pt/tools/desempenho/como_fazer/index.html b/files/pt-pt/tools/desempenho/como_fazer/index.html
new file mode 100644
index 0000000000..f8e7e99d8d
--- /dev/null
+++ b/files/pt-pt/tools/desempenho/como_fazer/index.html
@@ -0,0 +1,64 @@
+---
+title: Como fazer!
+slug: Tools/Desempenho/Como_fazer
+translation_of: Tools/Performance/How_to
+---
+<div>{{ToolsSidebar}}</div>
+
+<h2 id="Abrir_as_ferramentas_de_«Desempenho»">Abrir as ferramentas de «Desempenho»</h2>
+
+<p>Para abrir as ferramentas de <strong>Desempenho</strong>:</p>
+
+<ul>
+ <li>pressione Shift + F5</li>
+ <li>selecione "Desempenho" no submenu das "Ferramentas de Programação" no Menu do Firefox (ou no menu das <strong>Ferramenats</strong> se exibir a barra do menu ou está num OS X)</li>
+ <li>selecione "Desempenho" no botão <strong>Ferramentas</strong>, na «Barra de Ferramentas», se tiver uma:<img alt="" src="https://mdn.mozillademos.org/files/10997/devtools-button.png" style="height: 76px; width: 728px;"></li>
+</ul>
+
+<h2 id="Gravar_um_perfil">Gravar um perfil</h2>
+
+<p>To start a new recording, press the stopwatch icon in the Recordings pane. To stop, press it again:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13230/perf-record.png" style="display: block; height: 346px; margin-left: auto; margin-right: auto; width: 799px;"></p>
+
+<p>You can also start and stop recording from the Web Console, using <code><a href="/en-US/docs/Web/API/Console/profile">console.profile()</a></code> and <code><a href="/en-US/docs/Web/API/Console/profileEnd">console.profileEnd()</a></code>.</p>
+
+<h2 id="Guardar_um_perfil">Guardar um perfil</h2>
+
+<p>To save a profile, click the link labeled "Save" in the Recordings pane:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13232/perf-save.png" style="display: block; height: 333px; margin-left: auto; margin-right: auto; width: 799px;"></p>
+
+<h2 id="Carregar_um_perfil">Carregar um perfil</h2>
+
+<p>To load a profile, click "Import..." and choose the file:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13226/perf-load.png" style="display: block; height: 694px; margin-left: auto; margin-right: auto; width: 799px;"></p>
+
+<h2 id="Limpar_todos_os_perfis_carregados">Limpar todos os perfis carregados</h2>
+
+<p>To clear all loaded profiles, click "Clear".</p>
+
+<div class="note">
+<p>If you do this, you'll lose any loaded profiles that you have not saved.</p>
+</div>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13224/perf-clear.png" style="display: block; height: 353px; margin-left: auto; margin-right: auto; width: 818px;"></p>
+
+<h2 id="Selecionar_uma_ferramenta">Selecionar uma ferramenta</h2>
+
+<p>To switch between the <a href="/en-US/docs/Tools/Performance/Waterfall">Waterfall</a>, <a href="/en-US/docs/Tools/Performance/Call_Tree">Call Tree</a>, and <a href="/en-US/docs/Tools/Performance/Flame_Chart">Flame Chart</a> tools, use the buttons in the toolbar:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13234/perf-select.png" style="display: block; height: 347px; margin-left: auto; margin-right: auto; width: 799px;"></p>
+
+<h2 id="Configurar_marcadores_exibidos">Configurar marcadores exibidos</h2>
+
+<p>To control which markers are shown in the <a href="/en-US/docs/Tools/Performance/Waterfall">Waterfall</a>, use the button in the toolbar:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13228/perf-markers.png" style="display: block; height: 347px; margin-left: auto; margin-right: auto; width: 799px;"></p>
+
+<h2 id="Zoom">Zoom +</h2>
+
+<p>To zoom into a slice of the recording, select that slice in the recording overview:</p>
+
+<p><img alt="" src="https://mdn.mozillademos.org/files/13236/perf-zoom.png" style="display: block; height: 333px; margin-left: auto; margin-right: auto; width: 799px;"></p>