Profiling Sct Code

Profile Python code in SCT to find CPU, memory, and concurrency bottlenecks using cProfile, scalene, memray, and py-spy. Use when a test or framework operation is unexpectedly slow, memory usage grows unbounded, you need to find which functions dominate CPU time, or you want to verify that an optimization actually improved performance. Covers profiling unit tests and full SCT test runs.

scylladb 8e37f9e 2 files · 6.8 KB Updated

File contents

scylladb/scylla-cluster-tests/tree/main/skills/profiling-sct-code commit 8e37f9e800

Frequently asked questions

npx skillmds@latest add scylladb/profiling-sct-code