PyScope Performance Report

Summary

Execution Time: 1.8917 seconds

Average CPU: 40.91%

Peak Memory: 19.15 MB

Top Hotspots

Function Calls Total Time (s)
examples/slow_script.py:slow 1 1.8782

Performance Regression Check

⚠️ Execution time increased from 1.5524s → 1.9941s (+28.4541%)
⚠️ Peak memory increased from 18.844MB → 19.2539MB (+2.1766%)
⚠️ Top hotspot 'examples/slow_script.py:' increased from 1.4750s → 1.9084s

Optimization Suggestions

Function 'examples/slow_script.py:slow' dominates runtime (99%). Consider optimizing its algorithm or reducing repeated work.