| name | Profile Python agent workloads with Scalene |
| slug | profile-python-agent-workloads-with-scalene |
| description | Use Scalene when a Python agent, tool server, or retrieval pipeline needs line-level CPU, GPU, and memory profiling before targeted optimization. |
| github_stars | 13455 |
| verification | security_reviewed |
| source | https://github.com/plasma-umass/scalene |
| author | plasma-umass |
| publisher_type | open_source |
| category | Code Quality & Review |
| framework | Multi-Framework |
| tool_ecosystem | {"github_repo":"plasma-umass/scalene","github_stars":13455} |
Profile Python agent workloads with Scalene
Use Scalene when a Python agent, tool server, or retrieval pipeline needs line-level CPU, GPU, and memory profiling before targeted optimization.
Prerequisites
Python project or script that reproduces the workload; Scalene CLI; local or staging permission to run profiling
Installation
Use the upstream install or setup path that matches your environment:
- conda install -c conda-forge scalene
Requirements and caveats from upstream:
Basic usage or getting-started notes:
Documentation
Source