olegbask
olegbask
TTCTheo's Typesafe Cult
Created by olegbask on 11/11/2024 in #questions
Is it expected for a default create T3 app to take 500ms+ on each route (in dev)
I tried running next dev --turbo with and without Drizzle, but I still can't understand why it's so slow in development mode when running locally. Should I try running React without Next.js or take other steps to improve it?
GET / 200 in 2353ms
✓ Compiled /api/trpc/[trpc] in 276ms
[TRPC] post.create took 422ms to execute
POST /api/trpc/post.create?batch=1 200 in 1087ms
[TRPC] post.getLatest took 447ms to execute
GET /api/trpc/post.getLatest?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D 200 in 481ms
[TRPC] post.create took 268ms to execute
POST /api/trpc/post.create?batch=1 200 in 314ms
[TRPC] post.getLatest took 373ms to execute
GET /api/trpc/post.getLatest?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D 200 in 408ms
[TRPC] post.hello took 131ms to execute
[TRPC] post.getLatest took 295ms to execute
GET / 200 in 514ms
GET / 200 in 2353ms
✓ Compiled /api/trpc/[trpc] in 276ms
[TRPC] post.create took 422ms to execute
POST /api/trpc/post.create?batch=1 200 in 1087ms
[TRPC] post.getLatest took 447ms to execute
GET /api/trpc/post.getLatest?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D 200 in 481ms
[TRPC] post.create took 268ms to execute
POST /api/trpc/post.create?batch=1 200 in 314ms
[TRPC] post.getLatest took 373ms to execute
GET /api/trpc/post.getLatest?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D 200 in 408ms
[TRPC] post.hello took 131ms to execute
[TRPC] post.getLatest took 295ms to execute
GET / 200 in 514ms
6 replies