0

I'm trying to profile a Python FastAPI application (which uses LangGraph) using Scalene on Windows. Since Scalene's Windows version doesn't support multithreading, I'm running it in WSL instead.

When I execute scalene mainapi.py, the application starts successfully, but the Scalene web UI doesn't automatically open in my browser as expected. How can I manually access the Scalene profiling interface? Specifically, how do I find the correct URL to open in my browser?

2
  • as I understand when you run in Windows it opens browser - and browser should display URL. Did you try to use the same URL when you run in WSL? Commented Oct 10 at 12:08
  • in source code of Scalene I found line print(f"Serving at http://{host}:{port}") which suggests that it should display this url when you start it in console. Commented Oct 10 at 12:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.