Skip to content

Create the log time formatter on first use - #1054

Merged
cpojer merged 1 commit into
mainfrom
perf/lazy-log-time-format
Dec 6, 2026
Merged

cpojer merged 1 commit into
mainfrom
perf/lazy-log-time-format

Conversation

@TheAlexLichter

Copy link
Copy Markdown
Member

Small optimization that saves ~2% build time on my machine (~10ms), but likely more in CI if there are no logs being printed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.

Worker Status Deployment Commit
void-cloud Deployed Preview dd07b86

Updated: Dec 5, 2026, 19:21 UTC | Dashboard

@cpojer
cpojer merged commit e3e7972 into main Dec 6, 2026
21 checks passed
@cpojer
cpojer deleted the perf/lazy-log-time-format branch December 6, 2026 00:12
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.

2 participants