# PRNext vs Next.js at 0.7 CPU · 700 MiB: the CPU/RAM tradeoff

较小的 VPS 预算：比较 SSR、流式传输、大量渲染和 API 结果。在此活动中，PRNext 使用较少的 SSR CPU，但使用较多的 RAM。

当 CPU 受到约束时，降低每次响应的成本会有所帮助。在小型服务器上，一些额外的 MiB 也很重要。此案例说明了为什么两个测量结果并列。

## SSR：更少的CPU，更多的内存

On the 100-row page, the PRNext candidate uses about 37% less CPU per response and delivers 59% more validated requests than Next.js. Its median PSS is around 12% higher. This may suit a CPU-constrained application, but does not demonstrate a RAM saving.

此预算对具有 1 vCPU 和 1.9 GiB 的主机施加 0.7-CPU 配额和 700-MiB 内存限制。生成器共享该物理 CPU。结果描述了这种特定的设置及其争用，而不是市场上的每个小型 VPS。

## 流媒体和大量渲染：检查实际成本

The streaming route includes a 40-ms Suspense wait. PRNext uses roughly 42% less CPU per response while memory remains higher. That wait is part of the scenario; the route does not represent every streaming application.

1,000-row 页面大大增加了两个运行时的 CPU 成本。 PRNext 在此预算下保留了较小的吞吐量优势，但两个窗口无法确定此差距是稳定的。对于快速 API，在得出结论之前还要检查生成器限制标志。

## 做出小型 VPS 决定

衡量您的服务器及其依赖项和数据库，然后为爆发预留空间。在 700-MiB 限制下测量的 PSS 并不意味着 700-MiB VPS 就足够了：操作系统、其他服务和实际工作负载也需要内存。在更改运行时间之前验证路由兼容性。

## 0.7 CPU · 700 MiB

配额 0.7 CPU · 700 MiB · Node 22.23.4 · 1 worker PRNext · 1 Next.js process · old-space 384 MiB

### SSR · 100 行

| 公制 | PRNext 候选人 | Next.js 16.4.3 |
| --- | --- | --- |
| 经验证的吞吐量 (请求数/秒) | 81.33 | 51.00 |
| p95潜伏期 (ms) | 264.25 | 420.90 |
| CPU / 响应 (CPU 毫秒) | 8.46 | 13.39 |
| PSS内存 (MiB) | 113.88 | 101.38 |

### 重 SSR · 1,000 行

| 公制 | PRNext 候选人 | Next.js 16.4.3 |
| --- | --- | --- |
| 经验证的吞吐量 (请求数/秒) | 11.33 | 10.33 |
| p95潜伏期 (ms) | 1,550.25 | 1,661.80 |
| CPU / 响应 (CPU 毫秒) | 58.92 | 62.10 |
| PSS内存 (MiB) | 139.51 | 119.46 |

### JSON API · 16 条目

| 公制 | PRNext 候选人 | Next.js 16.4.3 |
| --- | --- | --- |
| 经验证的吞吐量 (请求数/秒) | 518.17 | 352.80 |
| p95潜伏期 (ms) | 61.40 | 90.05 |
| CPU / 响应 (CPU 毫秒) | 1.27 | 1.94 |
| PSS内存 (MiB) | 139.63 | 113.08 |

在这种情况下，负载生成器可能会限制吞吐量。小差距不足以区分运行时间。

### 流媒体 · 40 ms 悬疑

| 公制 | PRNext 候选人 | Next.js 16.4.3 |
| --- | --- | --- |
| 经验证的吞吐量 (请求数/秒) | 138.13 | 80.03 |
| p95潜伏期 (ms) | 182.65 | 307.25 |
| CPU / 响应 (CPU 毫秒) | 4.98 | 8.62 |
| PSS内存 (MiB) | 135.32 | 115.54 |

## 哪个预算适合您的项目？

[PRNext vs Next.js at 2 CPU · 1 GiB: SSR and heavy rendering](/zh/benchmarks/prnext-nextjs-2-cpu-1-gib)

## How to read this benchmark

The 2026-10-29 campaign uses React 19.3.1, the PRNext Balanced profile and gzip. Each variant gets 5 seconds of warmup, followed by 15 seconds of measurement with 16 connections. Values are medians of two alternating windows per variant, route and budget.

吞吐量指的是成功且经过验证的响应。 CPU 表示每次成功响应需要 CPU 时间。 RAM 是 MiB 中的中值进程树 PSS，而不是 RSS 或总 VPS 内存。报告的延迟是两个窗口 p95 值的中位数，而不是对所有请求重新计算的 p95。

## 测量了哪个代码？

PRNext is a development candidate for 0.1.18-alpha, with a manifest reporting 0.1.17-alpha. Next.js is version 16.4.3. The final 0.1.18-alpha release was not measured by this campaign: these figures do not measure its npm archive.

Source commit: 2856155dc32618d00ea7cbe05d771f589c9df536

Native SHA-256: e78bce35c1029500eec67d4aad5e3c08a5d9b74b3125aa3d10c854c5a286b843

Package SHA-256: 0099abf612f223625caf769f97608be1b4f6daf87a33c2bc92abe9517edbb095

## 这些结果无法预测什么

对合成应用进行两次短时间重复不提供置信区间。小型 VPS 与负载生成器共享其 CPU，而快速 API 路由可能受到生成器限制。主机之间的硬件和节点版本不同，因此跨预算的比较无法隔离硬件影响。

这些测量无法确定并发产品用户、VPS 上适合多少项目或账单节省。数据库、外部调用、缓存、浏览器工作和应用程序唤醒都会改变结果。睡眠和耐力观察仍在全面比较中。

## 测试您自己的应用程序

从最繁忙和最昂贵的路线开始。在比较速度之前验证响应内容和错误。保持两个运行时的配额、依赖项、缓存设置和负载相同。在做出决定之前重复更长的时间。

## 数据和测试协议

[下载 JSON 数据](/benchmarks/prnext-vs-next-2026-10-29.json)

[阅读完整的比较](/zh/blog/prnext-vs-nextjs-vps-benchmarks)

[Fixture](https://github.com/Lorkydey/PRNext/blob/2856155dc32618d00ea7cbe05d771f589c9df536/tests/performance/production-fixture.mjs)

[修正负载生成器](https://github.com/Lorkydey/PRNext/blob/fb59284854850ba0293fab30cc215bbd9aba6c72/tests/performance/production-load.mjs)

[所有基准测试](/zh/benchmarks)

---

语言: zh-Hans

Canonical: https://prnext.dev/zh/benchmarks/prnext-nextjs-0-7-cpu-700-mib

Index: https://prnext.dev/llms.txt
