{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/liquid/issues/508","labels_url":"https://api.github.com/repos/Shopify/liquid/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/liquid/issues/508/comments","events_url":"https://api.github.com/repos/Shopify/liquid/issues/508/events","html_url":"https://github.com/Shopify/liquid/issues/508","id":54248143,"number":508,"title":"Improve the Processing time for `for` loops","user":{"login":"parkr","id":237985,"avatar_url":"https://avatars.githubusercontent.com/u/237985?v=3","gravatar_id":"","url":"https://api.github.com/users/parkr","html_url":"https://github.com/parkr","followers_url":"https://api.github.com/users/parkr/followers","following_url":"https://api.github.com/users/parkr/following{/other_user}","gists_url":"https://api.github.com/users/parkr/gists{/gist_id}","starred_url":"https://api.github.com/users/parkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkr/subscriptions","organizations_url":"https://api.github.com/users/parkr/orgs","repos_url":"https://api.github.com/users/parkr/repos","events_url":"https://api.github.com/users/parkr/events{/privacy}","received_events_url":"https://api.github.com/users/parkr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-13T21:05:45Z","updated_at":"2015-01-15T19:35:54Z","closed_at":null,"body":"In Jekyll's usage of `for` loops in Liquid, these loops are historically the worst offenders of increased time-to-generation. `for` loops can sometimes add a tenth of a second per iteration to the processing time. Is there any benchmarking work done on `for` loops? I've been planning to dig deeper with `stackprof` to understand where the inefficiencies lie. Could just be the repetition of `context.stack`.\r\n\r\nIf anyone has any immediate idea of where the bottleneck is, please don't hesitate to add that info!. "},"comment":{"url":"https://api.github.com/repos/Shopify/liquid/issues/comments/70147053","html_url":"https://github.com/Shopify/liquid/issues/508#issuecomment-70147053","issue_url":"https://api.github.com/repos/Shopify/liquid/issues/508","id":70147053,"user":{"login":"fw42","id":2072686,"avatar_url":"https://avatars.githubusercontent.com/u/2072686?v=3","gravatar_id":"","url":"https://api.github.com/users/fw42","html_url":"https://github.com/fw42","followers_url":"https://api.github.com/users/fw42/followers","following_url":"https://api.github.com/users/fw42/following{/other_user}","gists_url":"https://api.github.com/users/fw42/gists{/gist_id}","starred_url":"https://api.github.com/users/fw42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fw42/subscriptions","organizations_url":"https://api.github.com/users/fw42/orgs","repos_url":"https://api.github.com/users/fw42/repos","events_url":"https://api.github.com/users/fw42/events{/privacy}","received_events_url":"https://api.github.com/users/fw42/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T19:35:54Z","updated_at":"2015-01-15T19:35:54Z","body":"This is really hard to debug without a concrete reproducible example"}}