Skip to content

Make imports lazy on Python 3.15 - #849

Merged
hynek merged 1 commit into
mainfrom
lazy
Oct 17, 2026
Merged

hynek merged 1 commit into
mainfrom
lazy

Conversation

@hynek

@hynek hynek commented Oct 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

@codspeed

codspeed Bot commented Oct 17, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by ×9.8

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 10 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ import structlog 1,048.7 ms 106.6 ms ×9.8

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing lazy (7aa28e5) with main (57a7422)

Open in CodSpeed

@hynek
hynek merged commit 19c4f21 into main Oct 17, 2026
21 checks passed
@hynek
hynek deleted the lazy branch October 17, 2026 13:27
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