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.
Installation
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
TODOs
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
Built Distribution
Close
Hashes for streamlit_profiler-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98b414e47033d73356851323530f7d404e77bd449e641416b1ead39ef1d4d4ef |
|
MD5 | 96a9ac9ac6439f19f1208a380d4c2fe8 |
|
BLAKE2b-256 | f9e2b260d4c053d937ae13b606f2a4795f165111bf01bbcfde4fa25e2edbd377 |