Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate memory usage limits in 1.0 #1404

Closed
zachleat opened this issue Sep 8, 2020 · 1 comment
Closed

Investigate memory usage limits in 1.0 #1404

zachleat opened this issue Sep 8, 2020 · 1 comment

Comments

@zachleat
Copy link
Member

zachleat commented Sep 8, 2020

eleventy-benchmark seems to have a upper memory limit on the number of templates that can be processed. It’s somewhere between 1000 and 10000. This is a lower limit than previous versions. Investigate!

https://github.com/11ty/eleventy-benchmark

@zachleat
Copy link
Member Author

Just did two successful runs of eleventy-benchmark on Canary 47 with 10000 and 20000 files respectively. Probably made better with the fix in #2139.

/Code/eleventy-benchmark (master ✘)✹✭ ᐅ npm start   

> [email protected] start /Users/zachleat/Code/eleventy-benchmark
> ./bench.sh

---------------------------------------------------------
Eleventy Benchmark (Node v14.17.5, 10000 templates each)
---------------------------------------------------------
Eleventy 1.0.0-canary.47                                        
---------------------------------------------------------
.njk: ... 3 runs.       
* Median: 4.87 seconds
* Median per template: 0 ms

~/Code/eleventy-benchmark (master ✘)✹✭ ᐅ npm start

> [email protected] start /Users/zachleat/Code/eleventy-benchmark
> ./bench.sh

---------------------------------------------------------
Eleventy Benchmark (Node v14.17.5, 20000 templates each)
---------------------------------------------------------
Eleventy 1.0.0-canary.47                                        
---------------------------------------------------------
.njk: ... 3 runs.       
* Median: 8.51 seconds
* Median per template: 0 ms

Gonna close this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant