Skip to content

Bring typescript benchmark client to parity with rust#4494

Open
coolreader18 wants to merge 1 commit intomasterfrom
noa/ts-benchmark-client
Open

Bring typescript benchmark client to parity with rust#4494
coolreader18 wants to merge 1 commit intomasterfrom
noa/ts-benchmark-client

Conversation

@coolreader18
Copy link
Collaborator

@coolreader18 coolreader18 commented Feb 27, 2026

Description of Changes

  • Enable pipelining by default
    • Set defaults for MAX_INFLIGHT_PER_WORKER for spacetime and convex
  • Add a warmup period
  • Reduce allocations in sdk (not that much of an effect but still improved things)

This gives pretty much exact parity with the rust client on my machine.

Expected complexity level and risk

1

Testing

  • Yup:
      RESULTS
    ══════════════════════════════════════════════════════════════════════
    
      spacetimedb    ████████████████████████████████████████     80,617 TPS
      convex         █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░        235 TPS
    
      ╔════════════════════════════════════════════════════════════╗
      ║                                                            ║
      ║       🚀 spacetimedb is 343x FASTER than convex! 🚀        ║
      ║                                                            ║
      ╚════════════════════════════════════════════════════════════╝
    

@coolreader18 coolreader18 force-pushed the noa/ts-benchmark-client branch from 4e62e12 to 2e927ce Compare February 27, 2026 22:59
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.

1 participant