nextjs - 💡(How to fix) Fix Edge funstions are super slow [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vercel/next.js#84337Fetched 2026-04-08 02:19:49
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×2closed ×1commented ×1issue_type_added ×1

Code Example

OS:
 <Like in vercel server>

Binaries:
  npm: '10.9.3',
  node: '22.19.0',
  acorn: '8.15.0',
  ada: '2.9.2',
  amaro: '1.1.0',
  ares: '1.34.5',
  brotli: '1.1.0',
  cjs_module_lexer: '2.1.0',
  cldr: '47.0',
  icu: '77.1',
  llhttp: '9.3.0',
  modules: '127',
  napi: '10',
  nbytes: '0.1.1',
  ncrypto: '0.0.1',
  nghttp2: '1.64.0',
  openssl: '3.0.17',
  simdjson: '3.13.0',
  simdutf: '6.4.2',
  sqlite: '3.50.4',
  tz: '2025b',
  undici: '6.21.2',
  unicode: '16.0',
  uv: '1.51.0',
  uvwasi: '0.0.21',
  v8: '12.4.254.21-node.29',
  zlib: '1.3.1-470d3a2',
  zstd: '1.5.7'
RAW_BUFFERClick to expand / collapse

Link to the code that reproduces this issue

https://www.speakaura.pl

To Reproduce

  1. Deploy on vercel servers
  2. Use the website

Current vs. Expected behavior

Edge funstions are executing with >10 seconds runtime it should be <500 ms like previously, after vercel servers update it started to be super slow

<img width="252" height="363" alt="Image" src="https://github.com/user-attachments/assets/2a4667d9-8a53-46f5-9d3f-0ac9c22c3ba9" />

Provide environment information

OS:
 <Like in vercel server>

Binaries:
  npm: '10.9.3',
  node: '22.19.0',
  acorn: '8.15.0',
  ada: '2.9.2',
  amaro: '1.1.0',
  ares: '1.34.5',
  brotli: '1.1.0',
  cjs_module_lexer: '2.1.0',
  cldr: '47.0',
  icu: '77.1',
  llhttp: '9.3.0',
  modules: '127',
  napi: '10',
  nbytes: '0.1.1',
  ncrypto: '0.0.1',
  nghttp2: '1.64.0',
  openssl: '3.0.17',
  simdjson: '3.13.0',
  simdutf: '6.4.2',
  sqlite: '3.50.4',
  tz: '2025b',
  undici: '6.21.2',
  unicode: '16.0',
  uv: '1.51.0',
  uvwasi: '0.0.21',
  v8: '12.4.254.21-node.29',
  zlib: '1.3.1-470d3a2',
  zstd: '1.5.7'

Which area(s) are affected? (Select all that apply)

Performance

Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

Additional context

No response

extent analysis

TL;DR

  • Investigate and optimize Edge Functions to reduce runtime, potentially by minimizing dependencies, optimizing database queries, or leveraging caching mechanisms.

Guidance

  • Review the Edge Functions code to identify performance bottlenecks, such as slow database queries or excessive computations.
  • Consider implementing caching mechanisms, like Redis or in-memory caching, to reduce the load on Edge Functions.
  • Verify the performance of Edge Functions using Vercel's built-in monitoring tools or third-party services like New Relic or Datadog.
  • Check for any recent changes in the code or dependencies that might be causing the performance degradation.

Example

No specific code example can be provided without more context about the Edge Functions code.

Notes

The exact cause of the performance issue cannot be determined without more information about the Edge Functions code and the recent changes made to the application.

Recommendation

  • Apply workaround: Optimize Edge Functions code and leverage caching mechanisms to reduce runtime, as the root cause of the issue is likely related to the application code rather than the Vercel servers update.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

nextjs - 💡(How to fix) Fix Edge funstions are super slow [1 comments, 2 participants]