Skip to content

Optimize EventScrubber.scrub_dict

7e000b7
Select commit
Loading
Failed to load commit list.
Open

⚡️ Speed up method EventScrubber.scrub_dict by 45% #4943

Optimize EventScrubber.scrub_dict
7e000b7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 16, 2025 in 1s

84.05% (-0.74%) compared to b838765

View this Pull Request on Codecov

84.05% (-0.74%) compared to b838765

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.05%. Comparing base (b838765) to head (7e000b7).
⚠️ Report is 37 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4943      +/-   ##
==========================================
- Coverage   84.79%   84.05%   -0.74%     
==========================================
  Files         158      165       +7     
  Lines       16570    16999     +429     
  Branches     2878     2980     +102     
==========================================
+ Hits        14050    14289     +239     
- Misses       1674     1822     +148     
- Partials      846      888      +42     
Files with missing lines Coverage Δ
sentry_sdk/scrubber.py 98.57% <100.00%> (+0.02%) ⬆️

... and 38 files with indirect coverage changes