What kind of performance should I expect?

I created a simple app with SvelteKit and Prisma and deployed it to Vercel. A simple SELECT * from a one-row table looks like it takes about 700 ms, which seems pretty slow. (I’m timing it by calling Date.now() just before and just after the database query.)

Is my approach all wrong? Am I missing something?

Also of note, the same query on the Neon database takes about 150 ms when I run the app locally, leading me to believe there’s some sort of networking issue?

We are currently deployed in us-west only. So probably you are hitting latency between all the parties involved. We want to launch more geographies this fall.