feat(blog): Prisma Next performance benchmark post#7941
Conversation
Adds the Prisma Next performance deep dive blog post by Serhii Tatarintsev, benchmarking Prisma Next (~50% higher peak throughput) against Prisma 7 and the raw pg driver. Includes hero/meta images, benchmark SVGs, and author photo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR introduces a new performance benchmark blog post comparing Prisma Next against Prisma 7 and the raw ChangesPerformance Benchmark Blog Post
🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx (1)
51-51: 💤 Low valueChart alt text uses different rounding than table and opening.
The alt text states "Prisma Next ~12,534" and "Prisma 7 ~8,260," but the opening paragraph (line 25) and table (lines 56-57) use "~12,500" and "~8,300." While both are approximations, using consistent rounding across all references improves clarity and reduces reader confusion.
Consider updating the alt text to match the rounded figures used elsewhere, or updating the table/opening to match the precise figures from the chart.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx` at line 51, The image alt text line containing "Peak sustained throughput: pg ~14,350 req/s, Prisma Next ~12,534 (87% of pg), Prisma 7 ~8,260 (58% of pg)" should use the same rounding as the opening paragraph and table; update that alt string to "Peak sustained throughput: pg ~14,350 req/s, Prisma Next ~12,500 (87% of pg), Prisma 7 ~8,300 (58% of pg)" (or alternatively adjust the opening/table to the precise chart values) so all references are consistent; locate and edit the markdown image tag string shown in the diff to make the change.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx`:
- Line 50: The sentence that currently reads "flattening just under 8,000 req/s"
should be updated to match the more precise Prisma 7 throughput cited elsewhere
(≈8,260–8,300 req/s); replace that phrase with "flattening around 8,300 req/s"
(or "around 8,260 req/s" if you prefer the chart value) so the line matches the
opening paragraph, chart alt text, and table; locate the exact string
"flattening just under 8,000 req/s" in the post and change it accordingly.
- Line 21: Replace the broken external link "https://pris.ly/pn-benchmarks" with
the valid Prisma Next URL "https://pris.ly/pn-series" wherever it appears in the
content (e.g., the sentence referencing "Prisma Next"); update both occurrences
so the link resolves correctly.
- Line 10: The blog frontmatter schema is missing heroImageAlt which is present
in the MDX and read as data.heroImageAlt; update the frontmatter schema in
apps/blog/source.config.ts to add a heroImageAlt string field (make it optional
if not all posts will have it) and update any associated TypeScript type or Zod
schema used for validation so that imageAlt access (data.heroImageAlt) is
type-safe; alternatively remove the heroImageAlt line from the MDX file if you
prefer not to support it.
---
Nitpick comments:
In `@apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx`:
- Line 51: The image alt text line containing "Peak sustained throughput: pg
~14,350 req/s, Prisma Next ~12,534 (87% of pg), Prisma 7 ~8,260 (58% of pg)"
should use the same rounding as the opening paragraph and table; update that alt
string to "Peak sustained throughput: pg ~14,350 req/s, Prisma Next ~12,500 (87%
of pg), Prisma 7 ~8,300 (58% of pg)" (or alternatively adjust the opening/table
to the precise chart values) so all references are consistent; locate and edit
the markdown image tag string shown in the diff to make the change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 9a081213-0e56-47c2-be05-a630efd23351
⛔ Files ignored due to path filters (6)
apps/blog/public/authors/serhii-tatarintsev.pngis excluded by!**/*.pngapps/blog/public/prisma-next-performance-benchmark/imgs/hero.svgis excluded by!**/*.svgapps/blog/public/prisma-next-performance-benchmark/imgs/latency-over-time.svgis excluded by!**/*.svgapps/blog/public/prisma-next-performance-benchmark/imgs/meta.pngis excluded by!**/*.pngapps/blog/public/prisma-next-performance-benchmark/imgs/peak-throughput.svgis excluded by!**/*.svgapps/blog/public/prisma-next-performance-benchmark/imgs/throughput-ramp.svgis excluded by!**/*.svg
📒 Files selected for processing (1)
apps/blog/content/blog/prisma-next-performance-benchmark/index.mdx
Summary
pgdriver — ~50% higher peak throughput, 9x smaller bundle2 _ Bars panel.svg/.png) and three benchmark SVGs intopublic/prisma-next-performance-benchmark/imgs/public/authors/Test plan
/blog/prisma-next-performance-benchmark🤖 Generated with Claude Code
Summary by CodeRabbit