Performance benchmark for Node.js Maxmind geo lookup libraries.
Supports current GeoIP2 aka MMDB database format only, legacy GeoIP format is not supported
Library | Relative speed | Operations per second | Slower by |
---|---|---|---|
maxmind |
100% | 592,279 (±2.22%) | 0 |
mmdb-reader |
61.53% | 364,415 (±2.16%) | 63% |
jgeoip |
9.62% | 56,951 (±3.66%) | 490% |
geoip2 |
4.33% | 25,635 (±2.08%) | 2210% |
maxmind-db-reader |
0.58% | 3,437 (±2.39%) | 17132% |
Note: benchmark was run under node v8.4.0
MIT