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

Bench test spsc #21

Merged
merged 19 commits into from
Dec 16, 2023
Merged

Bench test spsc #21

merged 19 commits into from
Dec 16, 2023

Conversation

KjellKod
Copy link
Owner

@KjellKod KjellKod commented Dec 15, 2023

Cleanup and SPSC performance bench testing similar to some external bench testing I’ve seen

  • added benchmark that is more sane for SPSC using two queues, lock-free and lock-based.
  • restructured unit tests
  • moved away (kept commenting away for now) most performance-based unit tests.

// // auto result = RunSPSC(queue, kAmount);
// // EXPECT_EQ(result.size(), 3);
// // auto sent = result[0];
// // auto received = result[1];
Copy link
Owner Author

Choose a reason for hiding this comment

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

remove this file

Copy link
Owner Author

@KjellKod KjellKod left a comment

Choose a reason for hiding this comment

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

good start

@KjellKod KjellKod merged commit 7a22fcd into master Dec 16, 2023
@KjellKod KjellKod deleted the bench branch December 16, 2023 01:04
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