Skip to content

Benchmarks#28

Merged
podocarp merged 28 commits into
mainfrom
jxd/benchmarks
Nov 9, 2025
Merged

Benchmarks#28
podocarp merged 28 commits into
mainfrom
jxd/benchmarks

Conversation

@podocarp

@podocarp podocarp commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

Note

Introduces a tinybench-based profiling workflow with a local Express test server and updates deps/scripts (migrating to @opentelemetry/sdk-node), along with new benchmark result artifacts.

  • Benchmarks/Profiling:
    • Add benchmarks/profile/simple.profile.ts (+ JS) using tinybench to run high-throughput GETs against a local server.
    • Add benchmarks/server/test-server.ts (+ JS) implementing multiple endpoints (simple, POST, payload sizes, CPU/IO, proxy, stream, error, slow) for benchmarking.
    • Add result artifacts in benchmarks/results/*.json and profiling meta in benchmarks/profile/results/meta.json.
  • Tooling/Config:
    • Update package.json: migrate tracing to @opentelemetry/sdk-node with @opentelemetry/instrumentation(-http), add tinybench, add benchmark:compare script, remove postinstall, and drop `

Written by Cursor Bugbot for commit 02fe0c1. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

@sohankshirsagar sohankshirsagar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm! just need to fix the build errors

@podocarp podocarp merged commit 29ec7ea into main Nov 9, 2025
3 checks passed
@podocarp podocarp deleted the jxd/benchmarks branch November 9, 2025 09: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