Skip to content

chore(storage): add storage benchmark tool for Gaxios refactor comparison#8341

Open
thiyaguk09 wants to merge 7 commits into
googleapis:storage-node-18from
thiyaguk09:chore/344856049-gaxios-benchmark
Open

chore(storage): add storage benchmark tool for Gaxios refactor comparison#8341
thiyaguk09 wants to merge 7 commits into
googleapis:storage-node-18from
thiyaguk09:chore/344856049-gaxios-benchmark

Conversation

@thiyaguk09
Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label May 21, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new benchmarking tool in handwritten/storage/internal-tooling/benchmark.ts along with updated documentation in the README. The tool enables comparative latency and memory benchmarking between the current codebase and a specified baseline NPM version of @google-cloud/storage. Feedback focuses on improving the robustness of dynamic imports for module compatibility, replacing hardcoded values with constants, enhancing type safety by avoiding any[], and refining the throughput calculation logic.

Comment thread handwritten/storage/internal-tooling/benchmark.ts Outdated
Comment thread handwritten/storage/internal-tooling/benchmark.ts Outdated
Comment thread handwritten/storage/internal-tooling/benchmark.ts Outdated
Comment thread handwritten/storage/internal-tooling/benchmark.ts Outdated
@thiyaguk09 thiyaguk09 marked this pull request as ready for review May 21, 2026 08:26
@thiyaguk09 thiyaguk09 requested a review from a team as a code owner May 21, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant