Skip to content

perf(logs): fast-path common UTC ISO 8601 timestamps - #3769

Draft
djwhitt wants to merge 3 commits into
perf/logevent-integer-timestampsfrom
perf/logevent-iso8601-timestamps
Draft

perf(logs): fast-path common UTC ISO 8601 timestamps#3769
djwhitt wants to merge 3 commits into
perf/logevent-integer-timestampsfrom
perf/logevent-iso8601-timestamps

Conversation

@djwhitt

@djwhitt djwhitt commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Parse the common production form YYYY-MM-DDTHH:MM:SS.ffffffZ directly for years 1970 through 2099.
  • Validate calendar days, leap days, hours, minutes, and seconds before computing Unix microseconds.
  • Retain DateTime.from_iso8601/1 as the compatibility fallback for offsets, other precision, out-of-range years, and invalid common-shape values.
  • Add generated parity, boundary, invalid-date, and fallback coverage.
  • Assert that BigQuery Storage API conversion still produces UTC DateTime values and Arrow timestamp data.

Stack

  1. perf(logs): reuse clean BigQuery-safe payloads #3765 — Reuse clean BigQuery-safe payloads
  2. perf(logs): transform bodies before constructing LogEvent #3767 — Transform bodies before constructing LogEvent
  3. perf(logs): normalize integer timestamps without digit lists #3768 — Normalize integer timestamps without digit lists
  4. perf(logs): fast-path common UTC ISO 8601 timestamps #3769 — Fast-path common UTC ISO 8601 timestamps

@djwhitt
djwhitt marked this pull request as ready for review August 4, 2026 19:09
@djwhitt
djwhitt marked this pull request as draft August 10, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant