Benchmarking GeoIP gems for Ruby
On a recent project, I had need again to use GeoIP (by the lovely people at MaxMind). I decided to take some time to benchmark a handful of various GeoIP gems, both for GeoIP v1 (legacy) and the newer GeoIP v2.
I decided to benchmark the extraction of 3 pieces of data, using the GeoIP Lite City database:
- 2-character ISO country code (eg: US)
- Full region name (eg: Colorado)
- Timezone (eg: America/Denver)