Perforator - Ember Performance Extension 的使用方法详解,最全面的教程
Perforator - Ember Performance Extension 描述：
Perforator - Ember Performance Extension 插件简介：
这是来自Chrome商店的 Perforator - Ember Performance Extension 浏览器插件，您可以在当前页面下载它的最新版本安装文件，并安装在Chrome、Edge等浏览器上。
Perforator - Ember Performance Extension插件下载方法/流程：
Perforator - Ember Performance Extension插件安装教程/方法：
(2) 从设置->更多工具->扩展程序 打开扩展程序页面，或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
NOTE: Your Chrome version must be at least 44 (for ES6 support) and your Ember version must be at least 1.10 (for components).
KNOWN ISSUE: Time tags occasionally won't show up if you load your Ember asynchronously. I'm working on it, but you should be able tp navigate to another route if you'd like to see them.
Perforator will help you determine your Ember.js app's performance bottlenecks. When activated, Perforator will time the rendering time of your Ember components and give you several ways to dig in to investigate individual components.
Main features include:
- In-page overlay of the render time for your components, colorized by relative speed. See at a glance what is taking so long! Hovering the tabs shows the component's classes and ember ID's. Clicking on the tag scootches it a bit :)
- Sortable table of useful rendering stats and information inside your dev tools console.
- A visual hierarchy of components as they are rendered inside the "Timeline" tab in your dev tools (scroll down to the "console" row label inside the "Timeline" tab).
The browser icon and popup provide some useful information as well:
- Icon is colorized when Ember is present on the page, grayscale otherwise.
- When Ember is present, clicking the browser icon pulls up a popup window that will allow you to turn Perforator on and off (for when you aren't doing performance tuning!), *which will refresh the page*
- Popup has a button for you to toggle the visible state of the timer tags on the in-page overlay.
No personal information is required or harvested, and no calls are made to a remote server (check the code!). No reliance on jQuery or any framework other than Ember.
Proudly developed at LinkedIn!