在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:firefox-devtools/Gecko-Profiler-Addon开源软件地址:https://github.com/firefox-devtools/Gecko-Profiler-Addon开源编程语言:HTML 50.6%开源软件介绍:Deprecation NoticePlease notice that this add-on has been deprecated as of Firefox 76. The profiler is now built directly into the browser. Go to profiler.firefox.com and click the button "Enable Profiler Menu Button" to enable the feature. If you had the add-on installed and enabled, then your Firefox profile will be automatically upgraded to use the new button. Gecko ProfilerThis add-on lets you collect profiles from Firefox, and open those profiles in profiler.firefox.com. InstallationMost users install it from https://profiler.firefox.com/ and click the link on there. It's also possible to install it directly from this repository by first downloading the file UsageThe add-on adds a toolbar button to your main toolbar. The button's icon is blue if the profiler is running and gray if the profiler is stopped. To start the profiler, click the toolbar button, and in the panel that opens, click "Start" in the top right corner. Profile data is stored in a circular buffer. As soon as the buffer fills up for the first time, old data is discarded as new data is added. That means that you can leave the profiler running, and collect a snapshot of the most recent couple of seconds at any time. You can control the profiler with two keyboard shortcuts:
If you want to run your own Firefox Profiler instance or want profiles to be sent to a different site that you're developing, you can change the “Reporter URL” preference of this add-on on DevelopmentMake sure you have somewhat recent versions of node and yarn installed. Then: $ git clone https://github.com/firefox-devtools/Gecko-Profiler-Addon/
$ cd Gecko-Profiler-Addon/
$ yarn install
$ yarn start The yarn config set geckoprofiler:firefox beta
yarn start Note that on some platforms (eg: Linux) you'll rather specify the full path to Firefox. Packaging a new versionIf you want to package a new version of the add-on, you need to be registered as an author of the add-on on addons.mozilla.org. Otherwise you can ignore this section and ask @mstange or @gregtatum to do the packaging for you. If you are registered as an author of the add-on on addons.mozilla.org, you should use your API key and API secret. Packaging a new version works like this:
Landing these changes in the Known issues
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论