You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
-
title: "Prisma Next is 50% faster than Prisma 7: a performance deep dive"
2
+
title: "Prisma Next Is ~90% As Fast as Raw PG"
3
3
slug: "prisma-next-performance-benchmark"
4
4
date: "2026-06-11"
5
5
authors:
6
6
- "Serhii Tatarintsev"
7
-
metaTitle: "Prisma Next is 50% faster than Prisma 7 | Benchmark"
8
-
metaDescription: "Prisma Next reaches about 50% higher peak throughput than Prisma 7 and holds latency low under load, closing most of the gap to the raw pg driver while keeping Prisma's type-safe, model-first workflow."
7
+
metaTitle: "Prisma Next Is ~90% As Fast as Raw PG"
8
+
metaDescription: "Prisma Next performance benchmarks achieves ~90% of the raw pg driver's peak throughput, holds latency low under load, and ships as a 148.5 KB gzipped bundle for serverless and edge workloads."
@@ -26,7 +26,7 @@ To see where it stands, we ran the same Postgres workload through three setups:
26
26
- At 6,000 to 7,000 requests/second, a level both can serve, Prisma Next's p95 latency stays around 4 ms while Prisma 7's has already climbed past 40 ms.
27
27
- Prisma Next reaches about **87%** of the raw `pg` driver's peak, while Prisma 7 reaches about **58%**.
28
28
29
-
It's also about **9Γ smaller** to ship, which matters for serverless and edge deployments where bundle size drives cold starts. We look at that below.
29
+
Its bundle size gzipped is about **148.5 KB** gzipped, compared to **1.32 MB** for Prisma 7, also about **9Γ smaller** to ship, which matters for serverless and edge deployments where bundle size drives cold starts. We look at that below.
30
30
31
31
One note before the numbers: **Prisma 7 is still the version to use in production today.**[Prisma Next is in Early Access](https://pris.ly/pn-ea), and once it's Generally Available you'll be able to run it in production too.
32
32
@@ -44,7 +44,7 @@ The raw `pg` driver is our baseline: the fastest this machine can talk to the da
44
44
45
45
This is the main result. As traffic rises, all three lines climb together at first; then Prisma 7 flattens out, while Prisma Next and `pg` keep climbing for thousands more requests per second.
46
46
47
-

47
+

48
48
49
49
That flat line is the overhead the new foundation was built to reduce. The peak each setup sustains, measured as the average of its busiest 10% of the run, lands here:
50
50
@@ -95,4 +95,20 @@ A few caveats. This is one benchmark, on one workload and one machine, so result
95
95
96
96
We've shared [our benchmark repo](https://pris.ly/pn-benchmarks), so you can run it yourself and tell us where we're wrong. We'll keep testing more workloads and tuning as Prisma Next moves toward Prisma 8.
97
97
98
-
To try Prisma Next today, start with the [Early Access blog post](https://pris.ly/pn-ea). Star and watch [prisma/prisma-next](https://github.com/prisma/prisma-next) on GitHub to follow what ships next, and if you hit a snag, start a thread in [#prisma-next on our Discord](https://pris.ly/discord).
98
+
## Try Prisma Next today
99
+
100
+
There are two ways to get started. To spin up a complete template app, scaffold one with:
101
+
102
+
```shell
103
+
bunx create-prisma@next
104
+
```
105
+
106
+
This sets you up with a [Prisma Postgres](https://www.prisma.io/postgres) database and can deploy the app to [Prisma Compute](https://www.prisma.io/compute), our serverless runtime for Prisma apps, so you can see the bundle-size and cold-start benefits above end to end.
107
+
108
+
To add Prisma Next to an existing app, run:
109
+
110
+
```shell
111
+
bunx prisma-next@latest init
112
+
```
113
+
114
+
To learn more, start with the [Early Access blog post](https://pris.ly/pn-ea). Star and watch [prisma/prisma-next](https://github.com/prisma/prisma-next) on GitHub to follow what ships next, and if you hit a snag, start a thread in [`#prisma-next` on our Discord](https://pris.ly/discord).
0 commit comments