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

Revert syncmap #133

Merged
merged 18 commits into from
Dec 29, 2023
Merged

Revert syncmap #133

merged 18 commits into from
Dec 29, 2023

Conversation

perbu
Copy link
Collaborator

@perbu perbu commented Dec 25, 2023

Fixes #132 (see discussion there). Keeps tests in place.

anthdm and others added 18 commits December 6, 2023 16:46
The update introduces a benchmark actor that receives messages and increments a message counter. It also includes the creation of a new protobuf message. The main function is updated to incorporate this benchmark actor, while providing a detailed simulation of sending messages across multiple actors distributed across different engines.
The benchmark code is refactored for better error handling and message checks. 'benchmark' function is extracted from 'main' for further testing. A new Makefile target 'bench-profile' is added for profiling. A new test file 'main_test.go' is created for benchmark testing. Corresponding instructions are added in the newly created README.md file. Also, .gitignore is updated to exclude the created test, cpu, and memory profiles.
…d it out. Gonna revisit latency benchmarks later.
The benchmark command in the Makefile has been updated to run the whole package, not just main.go
@anthdm anthdm merged commit ac25f94 into anthdm:master Dec 29, 2023
1 check 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.

SafeMap Len() is Linear Time Instead of Constant and ForEach() is Unsafe
3 participants