next.js
5019e61d - Log generate params duration in dev (#86726)

Commit
169 days ago
Log generate params duration in dev (#86726) During the request in dev, there's a time to generate params from `getStaticPaths` or `generateStaticParams`. Include that in the request log. Since Pages Router's `getStaticPaths` are technically "generate params" as well, set the label to `generate-params`. Example: ``` GET / in 0ms (compile: 0ms, generate-params: 0ms, render: 0ms) ``` <img width="1116" height="70" alt="CleanShot 2025-12-02 at 14 39 05@2x" src="https://github.com/user-attachments/assets/fc9ebc45-5b77-4a15-9567-43f0b6ace867" /> --------- Co-authored-by: Tim Neutkens <timneutkens@me.com>
Author
Parents
Loading