Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

TypeScript Performance testing #5

Closed
KATT opened this issue Jan 19, 2022 · 2 comments
Closed

TypeScript Performance testing #5

KATT opened this issue Jan 19, 2022 · 2 comments

Comments

@KATT
Copy link
Member

KATT commented Jan 19, 2022

Goal: Make sure that we can have a big backend with this new structure and still keep good DX

How:

  • Create a router with a few hundred(?) procedures
  • Mix types of different types - some with zod inputs some without

Tests:

  • Update an input in the server
  • See how long it takes to infer changes on the client
@KATT
Copy link
Member Author

KATT commented Jan 19, 2022

There's a starting point for code generation that I copied from the trpc repo in https://github.com/trpc/v10-playground/tree/katt/test-big-router

@KATT
Copy link
Member Author

KATT commented Jan 22, 2022

Created a router with 1000 procedures, see readme

@KATT KATT closed this as completed Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant