├── .devcontainer ├── Dockerfile ├── devcontainer.json └── reinstall-cmake.sh ├── .editorconfig ├── .github ├── dependabot.yml └── workflows │ ├── test.yml │ └── wheels.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── LICENSE ├── MAINTAINERS.md ├── MANIFEST.in ├── README.md ├── bin ├── build_js_bundle.py ├── bump_version.py ├── create_demo_data.py ├── create_sample_json.py └── serve_docs ├── docs ├── Makefile ├── _static │ └── preview │ │ ├── assets │ │ ├── django_template_render-CIkNzFIy.js │ │ ├── index-B-UkLYqV.js │ │ ├── index-paBu1EOJ.css │ │ ├── sympy_calculation-B9Pn_4RL.js │ │ └── wikipedia_article_word_count-CGt_pvsZ.js │ │ └── index.html ├── conf.py ├── extensions │ └── signature_change.py ├── guide.md ├── home.md ├── how-it-works.md ├── img │ ├── async-context.svg │ ├── screenshot.jpg │ └── timeline.png ├── index.md └── reference.md ├── examples ├── aiohttp_web_hello.py ├── async_example_simple.py ├── async_experiment_1.py ├── async_experiment_3.py ├── busy_wait.py ├── c_sort.py ├── context_api.py ├── demo_scripts │ ├── django_example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── django_example │ │ │ ├── __init__.py │ │ │ ├── settings.py │ │ │ ├── templates │ │ │ │ ├── template.html │ │ │ │ └── template_base.html │ │ │ ├── urls.py │ │ │ └── views.py │ │ └── manage.py │ ├── django_template_render.py │ ├── sympy_calculation.py │ └── wikipedia_article_word_count.py ├── falcon_hello.py ├── falcon_hello_file.py ├── flask_hello.py ├── litestar_hello.py ├── np_c_function.py └── tbhide_demo.py ├── html_renderer ├── .editorconfig ├── .gitignore ├── demo-data │ ├── django_template_render.json │ ├── sympy_calculation.json │ └── wikipedia_article_word_count.json ├── demo-src │ ├── DemoApp.svelte │ └── main.ts ├── index.html ├── package-lock.json ├── package.json ├── src │ ├── App.svelte │ ├── app.css │ ├── assets │ │ └── favicon.png │ ├── components │ │ ├── CallStackView.svelte │ │ ├── CogIcon.svelte │ │ ├── Frame.svelte │ │ ├── Header.svelte │ │ ├── Logo.svelte │ │ ├── TimelineCanvasView.ts │ │ ├── TimelineCanvasViewTooltip.svelte │ │ ├── TimelineView.svelte │ │ ├── ViewOptions.svelte │ │ ├── ViewOptionsCallStack.svelte │ │ └── ViewOptionsTimeline.svelte │ ├── lib │ │ ├── CanvasView.ts │ │ ├── DevicePixelRatioObserver.ts │ │ ├── appState.ts │ │ ├── color.ts │ │ ├── dataTypes.ts │ │ ├── model │ │ │ ├── Frame.ts │ │ │ ├── FrameGroup.ts │ │ │ ├── Session.ts │ │ │ ├── frameOps.test.ts │ │ │ ├── frameOps.ts │ │ │ ├── modelUtil.ts │ │ │ └── processors.ts │ │ ├── settings.ts │ │ └── utils.ts │ ├── main.ts │ ├── types.d.ts │ └── vite-env.d.ts ├── svelte.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── metrics ├── count_samples.py ├── frame_info.py ├── interrupt.py ├── multi_overhead.py ├── overflow.py └── overhead.py ├── noxfile.py ├── pyinstrument ├── __init__.py ├── __main__.py ├── context_manager.py ├── frame.py ├── frame_info.py ├── frame_ops.py ├── low_level │ ├── pyi_floatclock.c │ ├── pyi_floatclock.h │ ├── pyi_shared.h │ ├── pyi_timing_thread.c │ ├── pyi_timing_thread.h │ ├── pyi_timing_thread_python.py │ ├── stat_profile.c │ ├── stat_profile.pyi │ ├── stat_profile_python.py │ └── types.py ├── magic │ ├── __init__.py │ ├── _utils.py │ └── magic.py ├── middleware.py ├── processors.py ├── profiler.py ├── py.typed ├── renderers │ ├── __init__.py │ ├── base.py │ ├── console.py │ ├── html.py │ ├── html_resources │ │ ├── app.css │ │ └── app.js │ ├── jsonrenderer.py │ ├── pstatsrenderer.py │ ├── session.py │ └── speedscope.py ├── session.py ├── stack_sampler.py ├── typing.py ├── util.py └── vendor │ ├── __init__.py │ ├── appdirs.py │ ├── decorator.py │ └── keypath.py ├── pyproject.toml ├── requirements-dev.txt ├── setup.cfg ├── setup.py └── test ├── __init__.py ├── conftest.py ├── fake_time_util.py ├── low_level ├── __init__.py ├── test_context.py ├── test_custom_timer.py ├── test_floatclock.py ├── test_frame_info.py ├── test_setstatprofile.py ├── test_threaded.py ├── test_timing_thread.py └── util.py ├── test_cmdline.py ├── test_cmdline_main.py ├── test_context_manager.py ├── test_ipython_magic.py ├── test_overflow.py ├── test_processors.py ├── test_profiler.py ├── test_profiler_async.py ├── test_pstats_renderer.py ├── test_renderers.py ├── test_stack_sampler.py ├── test_threading.py └── util.py /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/reinstall-cmake.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.devcontainer/reinstall-cmake.sh -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/wheels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.github/workflows/wheels.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/MAINTAINERS.md -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/README.md -------------------------------------------------------------------------------- /bin/build_js_bundle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/bin/build_js_bundle.py -------------------------------------------------------------------------------- /bin/bump_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/bin/bump_version.py -------------------------------------------------------------------------------- /bin/create_demo_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/bin/create_demo_data.py -------------------------------------------------------------------------------- /bin/create_sample_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/bin/create_sample_json.py -------------------------------------------------------------------------------- /bin/serve_docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/bin/serve_docs -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/preview/assets/django_template_render-CIkNzFIy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/assets/django_template_render-CIkNzFIy.js -------------------------------------------------------------------------------- /docs/_static/preview/assets/index-B-UkLYqV.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/assets/index-B-UkLYqV.js -------------------------------------------------------------------------------- /docs/_static/preview/assets/index-paBu1EOJ.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/assets/index-paBu1EOJ.css -------------------------------------------------------------------------------- /docs/_static/preview/assets/sympy_calculation-B9Pn_4RL.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/assets/sympy_calculation-B9Pn_4RL.js -------------------------------------------------------------------------------- /docs/_static/preview/assets/wikipedia_article_word_count-CGt_pvsZ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/assets/wikipedia_article_word_count-CGt_pvsZ.js -------------------------------------------------------------------------------- /docs/_static/preview/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/_static/preview/index.html -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/extensions/signature_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/extensions/signature_change.py -------------------------------------------------------------------------------- /docs/guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/guide.md -------------------------------------------------------------------------------- /docs/home.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/home.md -------------------------------------------------------------------------------- /docs/how-it-works.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/how-it-works.md -------------------------------------------------------------------------------- /docs/img/async-context.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/img/async-context.svg -------------------------------------------------------------------------------- /docs/img/screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/img/screenshot.jpg -------------------------------------------------------------------------------- /docs/img/timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/img/timeline.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/docs/reference.md -------------------------------------------------------------------------------- /examples/aiohttp_web_hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/aiohttp_web_hello.py -------------------------------------------------------------------------------- /examples/async_example_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/async_example_simple.py -------------------------------------------------------------------------------- /examples/async_experiment_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/async_experiment_1.py -------------------------------------------------------------------------------- /examples/async_experiment_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/async_experiment_3.py -------------------------------------------------------------------------------- /examples/busy_wait.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/busy_wait.py -------------------------------------------------------------------------------- /examples/c_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/c_sort.py -------------------------------------------------------------------------------- /examples/context_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/context_api.py -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/.gitignore: -------------------------------------------------------------------------------- 1 | db.sqlite3 2 | -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/README.md -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/django_example/settings.py -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/templates/template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/django_example/templates/template.html -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/templates/template_base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/django_example/templates/template_base.html -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/django_example/urls.py -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/django_example/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/django_example/views.py -------------------------------------------------------------------------------- /examples/demo_scripts/django_example/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_example/manage.py -------------------------------------------------------------------------------- /examples/demo_scripts/django_template_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/django_template_render.py -------------------------------------------------------------------------------- /examples/demo_scripts/sympy_calculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/sympy_calculation.py -------------------------------------------------------------------------------- /examples/demo_scripts/wikipedia_article_word_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/demo_scripts/wikipedia_article_word_count.py -------------------------------------------------------------------------------- /examples/falcon_hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/falcon_hello.py -------------------------------------------------------------------------------- /examples/falcon_hello_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/falcon_hello_file.py -------------------------------------------------------------------------------- /examples/flask_hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/flask_hello.py -------------------------------------------------------------------------------- /examples/litestar_hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/litestar_hello.py -------------------------------------------------------------------------------- /examples/np_c_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/np_c_function.py -------------------------------------------------------------------------------- /examples/tbhide_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/examples/tbhide_demo.py -------------------------------------------------------------------------------- /html_renderer/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/.editorconfig -------------------------------------------------------------------------------- /html_renderer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/.gitignore -------------------------------------------------------------------------------- /html_renderer/demo-data/django_template_render.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/demo-data/django_template_render.json -------------------------------------------------------------------------------- /html_renderer/demo-data/sympy_calculation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/demo-data/sympy_calculation.json -------------------------------------------------------------------------------- /html_renderer/demo-data/wikipedia_article_word_count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/demo-data/wikipedia_article_word_count.json -------------------------------------------------------------------------------- /html_renderer/demo-src/DemoApp.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/demo-src/DemoApp.svelte -------------------------------------------------------------------------------- /html_renderer/demo-src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/demo-src/main.ts -------------------------------------------------------------------------------- /html_renderer/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/index.html -------------------------------------------------------------------------------- /html_renderer/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/package-lock.json -------------------------------------------------------------------------------- /html_renderer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/package.json -------------------------------------------------------------------------------- /html_renderer/src/App.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/App.svelte -------------------------------------------------------------------------------- /html_renderer/src/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/app.css -------------------------------------------------------------------------------- /html_renderer/src/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/assets/favicon.png -------------------------------------------------------------------------------- /html_renderer/src/components/CallStackView.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/CallStackView.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/CogIcon.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/CogIcon.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/Frame.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/Frame.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/Header.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/Header.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/Logo.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/Logo.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/TimelineCanvasView.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/TimelineCanvasView.ts -------------------------------------------------------------------------------- /html_renderer/src/components/TimelineCanvasViewTooltip.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/TimelineCanvasViewTooltip.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/TimelineView.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/TimelineView.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/ViewOptions.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/ViewOptions.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/ViewOptionsCallStack.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/ViewOptionsCallStack.svelte -------------------------------------------------------------------------------- /html_renderer/src/components/ViewOptionsTimeline.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/components/ViewOptionsTimeline.svelte -------------------------------------------------------------------------------- /html_renderer/src/lib/CanvasView.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/CanvasView.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/DevicePixelRatioObserver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/DevicePixelRatioObserver.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/appState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/appState.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/color.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/dataTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/dataTypes.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/Frame.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/Frame.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/FrameGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/FrameGroup.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/Session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/Session.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/frameOps.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/frameOps.test.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/frameOps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/frameOps.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/modelUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/modelUtil.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/model/processors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/model/processors.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/settings.ts -------------------------------------------------------------------------------- /html_renderer/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/lib/utils.ts -------------------------------------------------------------------------------- /html_renderer/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/main.ts -------------------------------------------------------------------------------- /html_renderer/src/types.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'uuid' { 2 | export function v4(): string; 3 | } 4 | -------------------------------------------------------------------------------- /html_renderer/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/src/vite-env.d.ts -------------------------------------------------------------------------------- /html_renderer/svelte.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/svelte.config.js -------------------------------------------------------------------------------- /html_renderer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/tsconfig.json -------------------------------------------------------------------------------- /html_renderer/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/tsconfig.node.json -------------------------------------------------------------------------------- /html_renderer/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/html_renderer/vite.config.ts -------------------------------------------------------------------------------- /metrics/count_samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/count_samples.py -------------------------------------------------------------------------------- /metrics/frame_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/frame_info.py -------------------------------------------------------------------------------- /metrics/interrupt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/interrupt.py -------------------------------------------------------------------------------- /metrics/multi_overhead.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/multi_overhead.py -------------------------------------------------------------------------------- /metrics/overflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/overflow.py -------------------------------------------------------------------------------- /metrics/overhead.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/metrics/overhead.py -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/noxfile.py -------------------------------------------------------------------------------- /pyinstrument/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/__init__.py -------------------------------------------------------------------------------- /pyinstrument/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/__main__.py -------------------------------------------------------------------------------- /pyinstrument/context_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/context_manager.py -------------------------------------------------------------------------------- /pyinstrument/frame.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/frame.py -------------------------------------------------------------------------------- /pyinstrument/frame_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/frame_info.py -------------------------------------------------------------------------------- /pyinstrument/frame_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/frame_ops.py -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_floatclock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_floatclock.c -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_floatclock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_floatclock.h -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_shared.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_shared.h -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_timing_thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_timing_thread.c -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_timing_thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_timing_thread.h -------------------------------------------------------------------------------- /pyinstrument/low_level/pyi_timing_thread_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/pyi_timing_thread_python.py -------------------------------------------------------------------------------- /pyinstrument/low_level/stat_profile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/stat_profile.c -------------------------------------------------------------------------------- /pyinstrument/low_level/stat_profile.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/stat_profile.pyi -------------------------------------------------------------------------------- /pyinstrument/low_level/stat_profile_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/stat_profile_python.py -------------------------------------------------------------------------------- /pyinstrument/low_level/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/low_level/types.py -------------------------------------------------------------------------------- /pyinstrument/magic/__init__.py: -------------------------------------------------------------------------------- 1 | from .magic import PyinstrumentMagic 2 | -------------------------------------------------------------------------------- /pyinstrument/magic/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/magic/_utils.py -------------------------------------------------------------------------------- /pyinstrument/magic/magic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/magic/magic.py -------------------------------------------------------------------------------- /pyinstrument/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/middleware.py -------------------------------------------------------------------------------- /pyinstrument/processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/processors.py -------------------------------------------------------------------------------- /pyinstrument/profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/profiler.py -------------------------------------------------------------------------------- /pyinstrument/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyinstrument/renderers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/__init__.py -------------------------------------------------------------------------------- /pyinstrument/renderers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/base.py -------------------------------------------------------------------------------- /pyinstrument/renderers/console.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/console.py -------------------------------------------------------------------------------- /pyinstrument/renderers/html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/html.py -------------------------------------------------------------------------------- /pyinstrument/renderers/html_resources/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/html_resources/app.css -------------------------------------------------------------------------------- /pyinstrument/renderers/html_resources/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/html_resources/app.js -------------------------------------------------------------------------------- /pyinstrument/renderers/jsonrenderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/jsonrenderer.py -------------------------------------------------------------------------------- /pyinstrument/renderers/pstatsrenderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/pstatsrenderer.py -------------------------------------------------------------------------------- /pyinstrument/renderers/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/session.py -------------------------------------------------------------------------------- /pyinstrument/renderers/speedscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/renderers/speedscope.py -------------------------------------------------------------------------------- /pyinstrument/session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/session.py -------------------------------------------------------------------------------- /pyinstrument/stack_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/stack_sampler.py -------------------------------------------------------------------------------- /pyinstrument/typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/typing.py -------------------------------------------------------------------------------- /pyinstrument/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/util.py -------------------------------------------------------------------------------- /pyinstrument/vendor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyinstrument/vendor/appdirs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/vendor/appdirs.py -------------------------------------------------------------------------------- /pyinstrument/vendor/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/vendor/decorator.py -------------------------------------------------------------------------------- /pyinstrument/vendor/keypath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyinstrument/vendor/keypath.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | -e .[test,bin,docs,examples,types] 2 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/setup.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/conftest.py -------------------------------------------------------------------------------- /test/fake_time_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/fake_time_util.py -------------------------------------------------------------------------------- /test/low_level/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/low_level/test_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_context.py -------------------------------------------------------------------------------- /test/low_level/test_custom_timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_custom_timer.py -------------------------------------------------------------------------------- /test/low_level/test_floatclock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_floatclock.py -------------------------------------------------------------------------------- /test/low_level/test_frame_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_frame_info.py -------------------------------------------------------------------------------- /test/low_level/test_setstatprofile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_setstatprofile.py -------------------------------------------------------------------------------- /test/low_level/test_threaded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_threaded.py -------------------------------------------------------------------------------- /test/low_level/test_timing_thread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/test_timing_thread.py -------------------------------------------------------------------------------- /test/low_level/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/low_level/util.py -------------------------------------------------------------------------------- /test/test_cmdline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_cmdline.py -------------------------------------------------------------------------------- /test/test_cmdline_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_cmdline_main.py -------------------------------------------------------------------------------- /test/test_context_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_context_manager.py -------------------------------------------------------------------------------- /test/test_ipython_magic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_ipython_magic.py -------------------------------------------------------------------------------- /test/test_overflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_overflow.py -------------------------------------------------------------------------------- /test/test_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_processors.py -------------------------------------------------------------------------------- /test/test_profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_profiler.py -------------------------------------------------------------------------------- /test/test_profiler_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_profiler_async.py -------------------------------------------------------------------------------- /test/test_pstats_renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_pstats_renderer.py -------------------------------------------------------------------------------- /test/test_renderers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_renderers.py -------------------------------------------------------------------------------- /test/test_stack_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_stack_sampler.py -------------------------------------------------------------------------------- /test/test_threading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/test_threading.py -------------------------------------------------------------------------------- /test/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joerick/pyinstrument/HEAD/test/util.py --------------------------------------------------------------------------------