Metadata-Version: 2.1
Name: xhmonitor
Version: 0.0.2
Summary: a lib for Performance monitoring
Home-page: https://github.com/lamborghini1993/mypypi/tree/master/xhmonitor
Author: lamborghini1993
Author-email: 1323242382@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pyprof2calltree

- 一个性能监控的库

# 安装命令：
`pip install xhmonitor`

# 使用方法：
```python
from xhmonitor import start_monitor, end_monitor

def TestProfile():
    iCnt = 0
    for x in range(10000):
        iCnt += x
    print(iCnt)

start_monitor()
TestProfile()
end_monitor()
```
> 会生成一个time.txt和time.view文本
> 
> time.txt: 性能测试的文本文件，可以查看每个函数的运行时间
> 
> time.view：可使用kcachegrind, qcachegrind工具打开该文件可视化查看更详细内容

