Skip to content

Commit

Permalink
Merge branch 'main' into remove-eval-sink
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Dec 18, 2024
2 parents 23a63d8 + f07e0f4 commit 54a638e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/helpers/ip-matcher/performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,6 @@ t.test("test performance in comparison to node:net.blocklist", async (t) => {

const percentageDiff = ((blockListMs - ipMatcherMs) / ipMatcherMs) * 100;

// Expect the IPMatcher to be at least 100% faster than the BlockList
t.same(percentageDiff > 100, true);
// Expect the IPMatcher to be faster than the BlockList
t.same(percentageDiff > 25, true);
});

0 comments on commit 54a638e

Please sign in to comment.