# dash-performance-monitor-plugin **Repository Path**: cnfeffery/dash-performance-monitor-plugin ## Basic Information - **Project Name**: dash-performance-monitor-plugin - **Description**: 同步Github dash-performance-monitor-plugin仓库 - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: https://github.com/CNFeffery/dash-performance-monitor-plugin - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-22 - **Last Updated**: 2025-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dash-performance-monitor-plugin [](https://github.com/CNFeffery/dash-performance-monitor-plugin/blob/main/LICENSE) [](https://pypi.org/project/dash-performance-monitor-plugin/) [](https://github.com/astral-sh/ruff) 简体中文 | [English](./README.md) 适用于[Dash](https://github.com/plotly/dash)应用的性能监测插件,基于`Dash Hooks`实现,用于在当前`Dash`应用页面中添加额外的性能监测功能。 ## 安装 ```bash pip install dash-performance-monitor-plugin ``` ## 使用 ```python from dash import Dash # 导入插件启用函数 from dash_performance_monitor_plugin import setup_performance_monitor_plugin # 为当前应用启用插件 setup_performance_monitor_plugin() app = Dash(__name__) # 其他应用代码... ``` ## 示例 执行示例应用,此示例演示了为`Dash`应用快捷添加额外的性能监视器,可实时显示 FPS(每秒帧数)、MS(每帧毫秒数)和 MB(内存使用量)等信息: ```bash python example.py ```