Skip to content

Improve benchmarks and update dependencies#7

Merged
hayabusa-cloud merged 5 commits into
mainfrom
improve-tests-and-workflow
Feb 5, 2026
Merged

Improve benchmarks and update dependencies#7
hayabusa-cloud merged 5 commits into
mainfrom
improve-tests-and-workflow

Conversation

@hayabusa-cloud
Copy link
Copy Markdown
Owner

@hayabusa-cloud hayabusa-cloud commented Feb 5, 2026

Summary

Improve benchmark and add build tooling for the iobuf module.

Changes

  • Benchmarks: Switch to nonblocking mode with skip-on-failure pattern
  • Dependencies: Update iox v0.3.2, spin v0.1.4
  • Documentation: Fix SmallBuffer size in translated READMEs (1→2 KiB)
  • Tooling: Add Makefile

Test plan

  • make test passes
  • make bench completes
  • Cross-build: amd64, arm64, riscv64, loong64

Copilot AI review requested due to automatic review settings February 5, 2026 15:31
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves benchmark testing methodology and updates project dependencies for the iobuf module, transitioning from blocking backoff patterns to nonblocking mode with skip-on-failure handling in parallel benchmarks.

Changes:

  • Updated dependencies to iox v0.3.2 and spin v0.1.4
  • Refactored all parallel benchmarks to use nonblocking mode with continue-on-error pattern instead of b.Fatal() or backoff delays
  • Fixed SmallBuffer size documentation in translated READMEs (corrected from 1 KiB to 2 KiB)
  • Added comprehensive new benchmarks and tests for pool contention scenarios
  • Added Makefile for build automation
  • Added GitHub Copilot instructions and funding configuration

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
go.mod Updated dependency versions for iox (v0.3.0→v0.3.2) and spin (v0.1.3→v0.1.4)
go.sum Updated checksums for new dependency versions
benchmark_test.go Refactored benchmarks to use nonblocking mode, removed unused imports, added extensive new benchmarks
bounded_pool_test.go Added new contention tests and validation tests for pool behavior
README.zh-CN.md Fixed SmallBuffer size from 1 KiB to 2 KiB in Chinese docs
README.ja.md Fixed SmallBuffer size from 1 KiB to 2 KiB in Japanese docs
README.fr.md Fixed SmallBuffer size from 1 KiB to 2 KiB in French docs
README.es.md Fixed SmallBuffer size from 1 KiB to 2 KiB in Spanish docs
Makefile Added build automation targets (fmt, vet, test, bench, clean)
.github/instructions/copilot.instructions.md Added guidelines for Copilot code review
.github/FUNDING.yml Added GitHub Sponsors configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hayabusa-cloud hayabusa-cloud merged commit 8687f73 into main Feb 5, 2026
17 checks passed
@hayabusa-cloud hayabusa-cloud deleted the improve-tests-and-workflow branch February 5, 2026 16:18
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