摘要: 官方文档: https://loguru.readthedocs.io/en/stable/index.html 安装: pip3 install loguru 基本使用: # demo.py from loguru import logger logger.debug("this is a deb 阅读全文
posted @ 2020-06-04 18:01 akai1024 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 官方地址:https://github.com/benfred/py-spy 码云地址:https://gitee.com/mirrors/Py-Spy 安装: pip install py-spy 三个子命令 1 record: 记录, 可导出到文件中. 支持svg格式火焰图, 可以点击查看每个函 阅读全文
posted @ 2020-06-04 15:39 akai1024 阅读(172) 评论(0) 推荐(0) 编辑