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

io: remove dead benchmark #1959

Merged
merged 1 commit into from
May 17, 2024
Merged

io: remove dead benchmark #1959

merged 1 commit into from
May 17, 2024

Conversation

matklad
Copy link
Member

@matklad matklad commented May 16, 2024

This benchmark doesn't compile, and it looks like it wansn't even ported to Zig 0.11. As we don't actively need it, remove it

This benchmark doesn't compile, and it looks like it wansn't even ported
to Zig 0.11. As we don't actively need it, remove it
@@ -147,7 +147,6 @@ const DeadDetector = struct {

fn is_entry_point(file: FileName) bool {
const entry_points: []const []const u8 = &.{
"benchmark.zig",
Copy link
Member Author

Choose a reason for hiding this comment

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

Funny how this tidy check was explicitly designed to catch dead files like this, but this particular one dodged the check, because I was lazy and implemnted the check based solely on the file name, and not on the entire path (and we used to have benchmark entry points)

Copy link
Contributor

@kprotty kprotty left a comment

Choose a reason for hiding this comment

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

I believe it was originally written to ensure the IO backends were maximizing network throughput during development. Ok to be removed now.

@matklad matklad added this pull request to the merge queue May 17, 2024
Merged via the queue into main with commit abca5bf May 17, 2024
25 checks passed
@matklad matklad deleted the matklad/dead-bench branch May 17, 2024 07:06
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.

None yet

2 participants