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

Add gix-commitgraph::File fuzzer #1208

Merged
merged 3 commits into from
Dec 24, 2023

Conversation

nathaniel-brough
Copy link
Contributor

No description provided.

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for increasing coverage!

I took a look to see if one could avoid the tempfile, and it seems like it's possible to use an anonymous mapping which could be provided using an alternative contructor. I will give that a shot and merge when it works.

This is particularly useful for fuzzing, but can certainly be interesting
for other low-level applications as well.
This increases performance by 4x while reducing kernel load to not being
present at all, down from 90%/nearly 1 CPU.
@Byron Byron force-pushed the fuzz-gix-commitgraph branch from 10c82e2 to 672294e Compare December 24, 2023 09:20
@Byron Byron merged commit 7e2add3 into GitoxideLabs:main Dec 24, 2023
18 checks passed
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