AsyncOptics是Node.js和Mongodb应用程序的异步代码查看器,性能监视器和程序包监视器

网友投稿 686 2022-10-19

AsyncOptics是Node.js和Mongodb应用程序的异步代码查看器,性能监视器和程序包监视器

AsyncOptics是Node.js和Mongodb应用程序的异步代码查看器,性能监视器和程序包监视器

AsyncOptics is an asynchronous code viewer, performance monitor, and package monitor for Node.js and Mongodb applications. It is able to track and monitor asynchronous processes with Node.js' Async Hooks and Perf Hooks. The aggregated information is displayed in a Sankey diagram with hierarchical behavior of asynchronous functions and as a Sunburst graph for information of package monitoring. The Sankey diagram handles real-time changes for live testing and allows hovering capabilities to show specific information on desired functions on a lower panel.

Installation

npm i async-optics

How to use

const {asyncMonitor, pkgMonitor} = require('async-optics');asyncMonitor(PortNumber); // default 3000pkgMonitor(complete path to package.json file);

run your program, go to http://localhost:PortNumber

Demo

async monitor

pkg monitor

Contributing

This is an open source product, please feel free to fork and make pull requests!

Any suggestions are welcomed!

Authors

Aleksander Turberville | Sarah Renshaw | Penghe Wu | Ralph Salazar

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Our Sankey diagram was built with the Styled Sankey library built by Eugene Kardash

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:关于游戏选择模式页面的实现
下一篇:蓝桥杯——串的处理
相关文章

 发表评论

暂时没有评论,来抢沙发吧~