git Last Modified Performance Issues #4193
Replies: 6 comments 2 replies
-
|
That feature is slow. How many templates does it apply to? That said, I do see some difference locally on Node 20.19.3: Node 22.21.1: Node 24.11.1: Node 25.2.0: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
This uses Link to our code: Line 1 in a9ee377 |
Beta Was this translation helpful? Give feedback.
-
341 Templates. I want to automate a list of the 6 newest entries without me having to manually add a date frontmatter. I tried all the other date options but when the site is deployed at Netlify git Last Modified is the only thing that really works. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, unfortunately it may be very likely spawn: for example, see https://blog.val.town/blog/node-spawn-performance/ I spent some time looking, and the |
Beta Was this translation helpful? Give feedback.
-
|
I’d consider home base for this one to be e18e/ecosystem-issues#216 from facebook/docusaurus#11208 We do have some warnings on the docs around this here: https://www.11ty.dev/docs/dates/ Going to move this one to a discussion until there is a clear path forward. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Operating system
macOS Tahoe 26.1
Eleventy
3.1.2
Describe the bug
I just updated to node v25.1.0 and one of my sites is taking over 15s to build. It normally builds in about 0.18s. I tracked it down to this:
11tydata.json:
{ "date": "git Last Modified" }If I downgrade node to v20.X the site builds in 3s.
Reproduction Source Code URL
https://github.com/craigerskine/cmx.media
Screenshots
No response
Beta Was this translation helpful? Give feedback.
All reactions