Skip to content

Optimize redaction performance with hybrid lookup strategy#56

Merged
moshie merged 3 commits intomainfrom
performance-improvements
Jan 18, 2026
Merged

Optimize redaction performance with hybrid lookup strategy#56
moshie merged 3 commits intomainfrom
performance-improvements

Conversation

@moshie
Copy link
Owner

@moshie moshie commented Jan 18, 2026

Improves performance from 14,511 to 14,931 ops/sec (+2.9%).

Improves performance from 14,511 to 14,931 ops/sec (+2.9%).
@moshie moshie self-assigned this Jan 18, 2026
@changeset-bot
Copy link

changeset-bot bot commented Jan 18, 2026

🦋 Changeset detected

Latest commit: a88ff75

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
deep-redact Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% (🎯 100%) 91 / 91
🔵 Statements 100% (🎯 100%) 92 / 92
🔵 Functions 100% (🎯 100%) 10 / 10
🔵 Branches 100% (🎯 100%) 69 / 69
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/can-be-redacted.ts 100% 100% 100% 100%
src/replacer.ts 100% 100% 100% 100%
src/safely-parse-url.ts 100% 100% 100% 100%
Generated in workflow #76 for commit a88ff75 by the Vitest Coverage Report Action

Adds tests for normalizedList Set path and large redaction lists.
@moshie moshie merged commit c08c640 into main Jan 18, 2026
8 checks passed
@moshie moshie deleted the performance-improvements branch January 18, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant