mirror of
https://github.com/BurntSushi/jiff.git
synced 2025-12-23 08:47:45 +00:00
While in #370 my tests indicated that the slowest tzdb init was still under ~33ms, right after it merged to master, I saw a spike to 300ms. 300ms is... probably still tolerable, but just barely I think. So this PR bumps up our threshold to 500ms. We also enable logging to hopefully get a better sense of where time is being spent. Finally, we just to improve things by skipping the `right` and `posix` directories in typicaly `/usr/share/zoneinfo` installations. Jiff doesn't use them and they tend to be confusing outputs of `TimeZoneDatabase::available()`. If users actually need those directories, they can do `TZDIR=/usr/share/zoneinfo/posix`. Ref #366 |
||
|---|---|---|
| .. | ||
| init | ||
| procmacro | ||
| tc39_262 | ||
| lib.rs | ||