Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fputs instead of fprintf #192

Merged
merged 1 commit into from
Feb 25, 2025
Merged

fputs instead of fprintf #192

merged 1 commit into from
Feb 25, 2025

Conversation

mgree
Copy link
Contributor

@mgree mgree commented Feb 24, 2025

Playing around with magic-trace, found a way to save 10μs in try-summary: use explicit fputs(..., stdout) instead of printf with simple string formats.

@mgree mgree merged commit 67052d8 into main Feb 25, 2025
23 checks passed
@mgree mgree deleted the fputs-speedup branch February 25, 2025 00:56
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