8000
Skip to content

fmt 11.0.0#176079

Closed
BrewTestBot wants to merge 1 commit intomasterfrom
bump-fmt-11.0.0
Closed

fmt 11.0.0#176079
BrewTestBot wants to merge 1 commit intomasterfrom
bump-fmt-11.0.0

Conversation

@BrewTestBot
Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
- Added `fmt/base.h` which provides a subset of the API with minimal include dependencies and enough functionality to replace all uses of the `printf` family of functions. This brings the compile time of code using {fmt} much closer to the equivalent `printf` code as shown on the following benchmark that compiles 100 source files:
Method Compile Time (s)
printf 1.6
IOStreams 25.9
fmt 10.x 19.0
fmt 11.0 4.8
tinyformat 29.1
Boost Format 55.0

This gives almost 4x improvement in build speed compared to version 10. Note that the benchmark is purely formatting code and includes. In real projects the difference from printf will be smaller partly because common standard headers will be included in almost any translation unit (TU) anyway. In particular, in every case except printf above ~1s is spent in total on including <type_traits> in all TUs.

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Jul 1, 2024
fmt: remove build patch

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 added revision bumps needed Reverse dependencies need to have their revision incremented in the same PR blocked labels Jul 2, 2024
@chenrui333
Copy link
Copy Markdown
Member

@github-actions
Copy link
Copy Markdown
Contributor
github-actions bot commented Jul 5, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

@github-actions github-actions bot added the stale No recent activity label Jul 5, 2024
@github-actions github-actions bot closed this Jul 6, 2024
@chenrui333
Copy link
Copy Markdown
Member

#176514

@chenrui333 chenrui333 deleted the bump-fmt-11.0.0 branch July 6, 2024 04:13
@chenrui333 chenrui333 added the superseded PR was replaced by another PR label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked bump-formula-pr PR was created using `brew bump-formula-pr` revision bumps needed Reverse dependencies need to have their revision incremented in the same PR stale No recent activity superseded PR was replaced by another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0