Skip to content

feat(go): add benchmark tests for bubble sort#1854

Closed
mehrdadbn9 wants to merge 1 commit intokrahets:mainfrom
mehrdadbn9:main
Closed

feat(go): add benchmark tests for bubble sort#1854
mehrdadbn9 wants to merge 1 commit intokrahets:mainfrom
mehrdadbn9:main

Conversation

@mehrdadbn9
Copy link

Add benchmark tests to measure performance of bubble sort implementations across different input sizes (100, 500, 1000). Tests both regular and flag-optimized versions.

Results:

  • size-100: ~10,881 ns/op
  • size-500: ~133,311 ns/op
  • size-1000: ~425,554 ns/op

Add benchmark tests to measure performance of bubble sort
implementations across different input sizes (100, 500, 1000).
Tests both regular and flag-optimized versions.

Results:
- size-100: ~10,881 ns/op
- size-500: ~133,311 ns/op
- size-1000: ~425,554 ns/op
@mehrdadbn9 mehrdadbn9 closed this by deleting the head repository Feb 18, 2026
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