Whyslow
Developer-friendly performance profiling utility for Python
Install / Use
/learn @valentinstn/WhyslowREADME
WhySlow simplifies the usage of cProfile and snakeviz. It offers the fastest way to get from slow code to flame chart and start the performance optimization investigations.
Installation
pip install whyslow
Usage
There are three ways to use this profiler.
As decorator to profile a function call
from whyslow import profile
@profile()
def my_slow_function():
# do expensive operations
As context manager to profile any code
from whyslow import profile
with profile():
# some expensive operations
As module to profile a script
$ python -m whyslow my-slow-script.py
License
MIT License
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
99.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
