Slow fetch requests to Supabase when using Bun with Next.js in dev mode
Unanswered
Norwegian Forest Cat posted this in #help-forum
Norwegian Forest CatOP
Hi everyone! Today I migrated my Next.js app from Node to Bun and I’ve noticed that in the development server, fetch requests to Supabase are very slow. This doesn’t happen in the production build made with Bun, but it does in local dev, as I just mentioned. With Node on the dev server, requests to Supabase were much faster than with Bun. Has anyone experienced this issue? Thanks a lot!
1 Reply
Western paper wasp
hi. this is a known issue with Bun in dev mode. For now, it’s better to use Node.js for dev or run Bun only in prod until Bun’s dev server performance is improved