node-maxmind-benchmark

maxmind benchmark

Usage no npm install needed!

<script type="module">
  import nodeMaxmindBenchmark from 'https://cdn.skypack.dev/node-maxmind-benchmark';
</script>

README

node-maxmind-benchmark

Performance benchmark for Node.js Maxmind geo lookup libraries.

Supports current GeoIP2 aka MMDB database format only, legacy GeoIP format is not supported

Performance

performance

Library Relative speed Operations per second
maxmind 100% 290,921 (±5.37%)
mmdb-reader 36.30% 105,602 (±47.62%)
jgeoip 18.16% 52,842 (±3.51%)
geoip2 9.31% 27,071 (±1.78%)
maxmind-db-reader 1.13% 3,288 (±0.86%)

Note: benchmark was run under node v7.6.0

License

MIT