Skip to content

Commit bdbd8c6

Browse files
ankur-archclaude
andauthored
Polish Try Prisma Next section and add Compute/Postgres links (#7951)
* docs(blog): polish Try Prisma Next section, add Compute/Postgres cross-links Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * Update apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx * docs(blog): update cover images and throughput chart Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9370d4e commit bdbd8c6

5 files changed

Lines changed: 38 additions & 23 deletions

File tree

β€Žapps/blog/content/blog/prisma-next-performance-benchmark/index.mdxβ€Ž

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
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"
33
slug: "prisma-next-performance-benchmark"
44
date: "2026-06-11"
55
authors:
66
- "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."
99
heroImagePath: "/prisma-next-performance-benchmark/imgs/hero.svg"
1010
heroImageAlt: "Bar chart showing Prisma Next outperforming Prisma 7 in throughput benchmarks"
1111
metaImagePath: "/prisma-next-performance-benchmark/imgs/meta.png"
@@ -26,7 +26,7 @@ To see where it stands, we ran the same Postgres workload through three setups:
2626
- 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.
2727
- Prisma Next reaches about **87%** of the raw `pg` driver's peak, while Prisma 7 reaches about **58%**.
2828

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.
3030

3131
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.
3232

@@ -44,7 +44,7 @@ The raw `pg` driver is our baseline: the fastest this machine can talk to the da
4444

4545
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.
4646

47-
![Throughput over the load test: Prisma 7 flattens out just under 8,000 req/s while Prisma Next and pg keep climbing](/prisma-next-performance-benchmark/imgs/throughput-ramp.svg)
47+
![Throughput over the load test: Prisma 7 flattens out just under 8,000 req/s while Prisma Next and pg keep climbing](/prisma-next-performance-benchmark/imgs/throughput-ramp.png)
4848

4949
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:
5050

@@ -95,4 +95,20 @@ A few caveats. This is one benchmark, on one workload and one machine, so result
9595

9696
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.
9797

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).

β€Žapps/blog/public/prisma-next-performance-benchmark/imgs/hero.svgβ€Ž

Lines changed: 16 additions & 16 deletions
Loading
185 KB
Loading
953 KB
Loading

β€Žapps/blog/public/prisma-next-performance-benchmark/imgs/throughput-ramp.svgβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
Β (0)