首页 扩展程序 API Monitor

API Monitor

提供方: Alexander Block
0
开发者工具 3 位用户

插件简介

Monitor browser API usage
Whether you're developing a Single Page Application (SPA) and want to assess implementation correctness or are curious about how something works, this tool adds additional functionality to the Chrome browser DevTools to reveal active or passed timouts, intervals, and eval usages while mapping their invocation call stacks to a source code location. If the page has mounted video or audio media element's, their events and property state changes can be observed as they happen.

Motivation:
- To expedite issues discovery, here are some examples from experience:

* A ~10ms delay interval constantly consuming approximately 10% of CPU from a third-party library, solely to check if the page was resized.
* A bundled dependency library that utilizes the eval function, thereby preventing the removal of unsafe-eval from the Content Security Policy (CSP) header. It can be arguably intentional, but also may reveal a configuration issue when the package was bundled with webpack config's devtool: 'eval' in production mode.
* A substantial number of hidden video elements in the DOM that were consuming resources, unexpectedly limited to 100 medias per domain.
* An unattended interval that was unintentionally left running and contributed to a slowly growing memory.

- To explore the internals of a complex systems.

Source code: https://github.com/zendive/browser-api-monitor

其他信息

ID bghmfoakiidiedpheejcjhciekobjcjp 版本 1.0.2 上次更新日期 2024年5月1日 大小 58.8KiB 语言 支持1 种语言 开发者

calexblock@gmail.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

API Monitor Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效