We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
不,不幸的是没有这样的工具。 最接近的是各种分析工具(例如 Venkman),它可以显示您在各种 JS 函数中花费的时间,但是聚合这些数据来确定扩展是否效率低下将很棘手。
Mozilla 还在 Mac 上使用 dtrace(带有特殊版本的 Firefox 和特殊的 dtrace 脚本)来分析性能。 我想它也可以适应这一点。
No, unfortunately there is no such tool. The closest thing are various profiling tools (like Venkman), which can show you time spent in various JS functions, but aggregating that data to determine if an extension is inefficient will be tricky.
Mozilla also uses dtrace on Mac (with special builds of Firefox and special dtrace scripts) to analyze performance. I imagine it could be adapted for this too.
有一个 Firefox 插件可以查看内存使用情况:关于插件内存。
安装插件并打开页面
about:addons-memory
,它将显示所有已安装插件(包括Firefox原生插件)的内存使用情况。您可能还对选项卡内存使用情况感兴趣,其中显示每个打开的选项卡的内存使用情况。
There is a Firefox add-on to see the memory usage: about addons memory.
Install the addon and open the page
about:addons-memory
, it will display the memory usage for all installed addon (including Firefox native addons).You might also be interested by tab memory usage, which display memory usage for each opened tab.