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

Mutate site payload instead of duplicating it #419

Merged
merged 3 commits into from
Oct 18, 2020

Conversation

ashmaroli
Copy link
Member

This is similar to how Jekyll::Renderer prepares payload for pages and
documents in a site
@ashmaroli
Copy link
Member Author

Third-party Repo Memory Profile

--- master https://github.com/jekyll/jekyll-seo-tag/runs/1259457895
+++ PR     https://github.com/jekyll/jekyll-seo-tag/runs/1270495216

-Total allocated: 25.18 MB (209612 objects)
+Total allocated: 24.57 MB (206976 objects)
 Total retained:  19.39 kB (167 objects)

 allocated memory by gem
 -----------------------------------
-  25.18 MB  jekyll-seo-tag/lib
+  24.57 MB  jekyll-seo-tag/lib

 allocated memory by class
 -----------------------------------
-  13.11 MB  Hash
+  12.50 MB  Hash

 allocated objects by gem
 -----------------------------------
-    209612  jekyll-seo-tag/lib
+    206976  jekyll-seo-tag/lib

 allocated objects by class
 -----------------------------------
     113724  String
-     49274  Hash
+     46638  Hash

@ashmaroli ashmaroli marked this pull request as ready for review October 18, 2020 07:27
@DirtyF
Copy link
Member

DirtyF commented Oct 18, 2020

@jekyll: merge +dev

@jekyllbot jekyllbot merged commit a1e0cdd into jekyll:master Oct 18, 2020
jekyllbot added a commit that referenced this pull request Oct 18, 2020
@ashmaroli ashmaroli deleted the mutate-site-payload branch October 18, 2020 09:08
@jekyll jekyll locked and limited conversation to collaborators Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants