Skip to main content

Runtime profiler for Streamlit, powered by pyinstrument

Project description

streamlit-profiler  🏄🏼


Runtime profiler for Streamlit, powered by pyinstrument.

streamlit-profiler is a Streamlit component that helps you find out which parts of your code are slow. It profiles code via pyinstrument and shows the results right within the Streamlit app.

Alpha version, use with care.


pip install streamlit-profiler

How to use it

import streamlit as st
from streamlit_profiler import Profiler

with Profiler():
    st.title("My app")
    # ... and any other code


PRs are welcome! If you want to work on any of these things, please open an issue to coordinate.

  • TBD

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-profiler-0.1.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

streamlit_profiler-0.1.1-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page