diff --git a/README.md b/README.md index 788a8c3..f3bb23e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Refer to the [build workflow](./.github/workflows/ci.yml) for details. |------|---------|---------|--------------|---------------|--------------|------------|---------------|-------------|-------------------| | 3.8 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | 🚫 | | 3.9 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | -| 3.10 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | ✅ | +| 3.10 | 🚫 | ✅ | ✅ | ✅ | ✅ | ✅ | 🚫 | 🚫 | ✅ | ## Usage @@ -51,21 +51,21 @@ with open_database('./GeoLite.mmdb/GeoLite2-City.mmdb') as reader: ips ``` -| |ip |city |postcode|state|country| -|-----|---------------|-----------|--------|-----|-------| -| 0 |75.63.106.74 |Houston |77070 |TX |US | -| 1 |132.206.246.203|Montreal |H3A |QC |CA | -| 2 |94.226.237.31 |Kapellen |2950 |VLG |BE | -| 3 |128.119.189.49 |Northampton|01060 |MA |US | -| 4 |2.30.253.245 |London |SW15 |ENG |GB | +| | ip | city | postcode | state | country | +|-----|-----------------|-------------|----------|-------|---------| +| 0 | 75.63.106.74 | Houston | 77070 | TX | US | +| 1 | 132.206.246.203 | Montreal | H3A | QC | CA | +| 2 | 94.226.237.31 | Kapellen | 2950 | VLG | BE | +| 3 | 128.119.189.49 | Northampton | 01060 | MA | US | +| 4 | 2.30.253.245 | London | SW15 | ENG | GB | ## Benchmarks -|Name (time in ms) |Min |Max |Mean |StdDev |Median |IQR |Outliers|OPS |Rounds |Iterations| -|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------|----------|-------|----------|-------|--------|-------|----------|----------| -|test_benchmark_pandas_maxminddb |273.2588 (1.0)|284.8850 (1.0)|280.4760 (1.0)|4.5448 (1.0)|281.6831 (1.0)|5.9721 (1.0)|1;0 |3.5654 (1.0)|5 |1 | -|test_benchmark_c_maxminddb |986.0314 (3.61)|1,002.4413 (3.52)|995.7461 (3.55)|8.3891 (1.85)|1,001.3420 (3.55)|15.1085 (2.53)|2;0 |1.0043 (0.28)|5 |1 | -|test_benchmark_python_maxminddb |9,011.4650 (32.98)|9,286.9635 (32.60)|9,081.2087 (32.38)|117.9029 (25.94)|9,020.5363 (32.02)|114.9376 (19.25)|1;0 |0.1101 (0.03)|5 |1 | +| Name (time in ms) | Min | Max | Mean | StdDev | Median | IQR | Outliers | OPS | Rounds | Iterations | +|---------------------------------|--------------------|--------------------|--------------------|------------------|--------------------|------------------|----------|---------------|--------|------------| +| test_benchmark_pandas_maxminddb | 273.2588 (1.0) | 284.8850 (1.0) | 280.4760 (1.0) | 4.5448 (1.0) | 281.6831 (1.0) | 5.9721 (1.0) | 1;0 | 3.5654 (1.0) | 5 | 1 | +| test_benchmark_c_maxminddb | 986.0314 (3.61) | 1,002.4413 (3.52) | 995.7461 (3.55) | 8.3891 (1.85) | 1,001.3420 (3.55) | 15.1085 (2.53) | 2;0 | 1.0043 (0.28) | 5 | 1 | +| test_benchmark_python_maxminddb | 9,011.4650 (32.98) | 9,286.9635 (32.60) | 9,081.2087 (32.38) | 117.9029 (25.94) | 9,020.5363 (32.02) | 114.9376 (19.25) | 1;0 | 0.1101 (0.03) | 5 | 1 | ## Extending