Skip to content

test: add benchmarks #16

Description

@antongolub

The lib pretends to be a drop-in replacement for the ip pkg, so we need to understand how much the performance is lost due to the extra logic. What's needed:

  • Get tinybench
  • Touch src/test/bench/basic.bench.js
  • Compare isV4Format(), isV6Format(), isPublic() avg latencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testQA & tests improvements

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions