Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❓ Profiling a Streamlit Script #459

Open
dionyce opened this issue Oct 24, 2022 · 0 comments
Open

❓ Profiling a Streamlit Script #459

dionyce opened this issue Oct 24, 2022 · 0 comments

Comments

@dionyce
Copy link

dionyce commented Oct 24, 2022

Describe the bug
I use Streamlit to run an interactive data-analysis tool locally. Streamlit scripts have to be run using the terminal command
streamlit run name.py
Is there another way to run the profiler, other than
python -m scalene -m streamlit run name.py
?
For instance, having a code like:

from scalene import Profiler
Profiler.start()
...my streamlit code...
Profiler.end()
Profiler.show()

and run it regularly via Streamlit.

I use PyCharm on MacOS (Intel).

@dionyce dionyce changed the title Profiling a Streamlit Script Profiling a Streamlit Script #question Oct 24, 2022
@dionyce dionyce changed the title Profiling a Streamlit Script #question ❓ Profiling a Streamlit Script Oct 24, 2022
@dionyce dionyce changed the title ❓ Profiling a Streamlit Script ❓ Profiling a Streamlit Script Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant