indutny / indutny/node-ip

Improve perfomance

Open
#87 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

Hello, i'm author of [`ip2buf`](https://www.npmjs.com/package/ip2buf) - a most faster js library for convering ip to the buffer. Implementation taken from libuv and ported from c++ (by hands, without emscripten). It is possible to join our work?

Some [perf](https://github.com/reklatsmasters/ip2buf/tree/439c55cc7605423929808d42a29b9cd284914cd6/perf) results:

For IPv4:

```
native: 264.411ms
ip2buf: 262.467ms
ipaddr.js: 1512.310ms
ip: 1047.124ms
```

For IPv6:

```
native: 316.183ms
ip2buf: 657.819ms
ipaddr.js: 1691.943ms
ip: 1358.625ms
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue links benchmark results in the ip2buf perf directory but names no node-ip file, test, or concrete change. Start by reviewing the existing conversion entry points and the referenced IPv4 and IPv6 benchmarks; clarify the intended implementation and measurable performance target before work begins.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.