What's Changed
- add backup index based on github release by @ringsaturn in #116
- Bump ruff from 0.15.5 to 0.15.6 in the root-dependencies group by @dependabot[bot] in #118
- Stop publishing armv7l and win32 whls. by @ringsaturn in #120
- Run stats data for cleaning up by @ringsaturn in #119
- Bump pygments from 2.19.2 to 2.20.0 by @dependabot[bot] in #121
- Bump actions/deploy-pages from 4 to 5 in the dependencies group by @dependabot[bot] in #122
- Bump the root-dependencies group with 2 updates by @dependabot[bot] in #123
- Add ystripes index and rm rtree&quad by @ringsaturn in #124
tzfpy follows current tzf-rs behavior: DefaultFinder enables y_stripes
by default. If you need to disable y_stripes, use this environment variable:
export _TZFPY_DISABLE_Y_STRIPES=1The index requires about 40MB memory, but can speed up query missing from
pre-index, especially around borders.
Benchmark with _TZFPY_DISABLE_Y_STRIPES=1
.
---------------------------------------------- benchmark: 1 tests ----------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations
----------------------------------------------------------------------------------------------------------------
test_tzfpy 2.3709 2.9560 2.5338 0.0794 2.5213 0.0728 86;24 394.6709 500 10000
----------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
Results (14.42s):
1 passed
Benchmark with default index mode
.
---------------------------------------------- benchmark: 1 tests ----------------------------------------------
Name (time in us) Min Max Mean StdDev Median IQR Outliers OPS (Kops/s) Rounds Iterations
----------------------------------------------------------------------------------------------------------------
test_tzfpy 1.7190 2.4869 1.8321 0.1139 1.7934 0.0627 53;56 545.8076 500 10000
----------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
Results (10.35s):
1 passedFull Changelog: v1.1.3...v1.2.0