tuna:Python配置文件查看器

时间:2021-05-04 23:26:13
【文件属性】:
文件名称:tuna:Python配置文件查看器
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-04 23:26:13
python profile browser profiler pypi Python的性能分析。 金枪鱼是受启发的现代轻量级Python配置文件查看器。 它处理运行时和导入配置文件,具有最小的依赖性,使用和 ,并且避免了SnakeViz中存在的(请参见下文),并且速度也更快。 使用以下命令创建运行时配置文件 python -mcProfile -o program.prof yourfile.py 或具有的 python -X importtime yourfile.py 2> import.log 并显示 tuna program.prof 为什么金枪鱼不显示整个通话树 无法从配置文件数据中检索整个定时调用树。 Python开发人员决定只将父数据存储在配置文件中,因为可以以很少的开销进行计算。 为了说明,请考虑以下程序。 import time def a ( t0 , t1 ): c ( t0 ) d ( t1 ) def b ()
【文件预览】:
tuna-main
----.eslintrc(172B)
----pyproject.toml(94B)
----package.json(96B)
----.github()
--------workflows()
----test()
--------foo.py(221B)
--------test_tuna.py(3KB)
----tox.ini(174B)
----tuna()
--------_runtime_profile.py(4KB)
--------__about__.py(214B)
--------main.py(2KB)
--------cli.py(2KB)
--------_helpers.py(37B)
--------__main__.py(51B)
--------__init__.py(242B)
--------web()
--------module_groups.py(3KB)
--------magics.py(2KB)
--------_import_profile.py(3KB)
----package-lock.json(12KB)
----setup.cfg(1KB)
----.gitignore(111B)
----.codecov.yml(12B)
----Makefile(1KB)
----README.md(4KB)
----.flake8(107B)
----LICENSE.txt(34KB)

网友评论