tzf-rs 1.2.0

Fast convert longitude,latitude to timezone name.
Documentation
#!/usr/bin/env python3
import sys
from pathlib import Path

from bench_memory_parse import build_rows


def main() -> int:
    if len(sys.argv) != 2:
        print("usage: bench_memory_report.py <benchmark_result.txt>", file=sys.stderr)
        return 1

    bench_file = Path(sys.argv[1])
    if not bench_file.exists():
        print(f"benchmark file not found: {bench_file}", file=sys.stderr)
        return 1

    bench_text = bench_file.read_text()
    rows = build_rows(bench_text, runs=5)

    print(
        "| Target | Scenario | Median estimate (µs) | Approx throughput (ops/s) | Avg peak RSS (MiB) |"
    )
    print("| --- |---|---:|---:|---:|")
    for row in rows:
        print(
            f"| {row[0]} | {row[1]} | {row[4]} | {row[5]} | {row[6]} |"
        )

    return 0


if __name__ == "__main__":
    raise SystemExit(main())