Help us understand the problem. What is going on with this article? Rails3.2ããRails4.2ã«ä¸ãããActiveRecordãé ããªã£ãã®ã§ãã©ããã£ã¦èª¿æ»ãã¦ãã©ã®ããã«å¯¾å¦ããããèªã£ã¦ã¿ããã ã¨ã¦ãé·ãã®ã§ããã«ã人ã¯æåã¨æå¾ã ãèªãã°ããã§ãã TL;DR ç°å¢: Ruby 2.1.5 ARãªãã¸ã§ã¯ãã大éã«(ãã£ãã750kããã)loadãããããå¦ç 3.2ç³»ã§ã®å®è¡æéã¯ç´480secã 4.2ç³»ã§ã¯ç´2900sec ç´6åã®æ§è½å£å åå : preloadã§æ§è½å£åãã¦ã CollectionProxyã®çæå¨ãã§é ããªã£ã¦ã Rails4ããARãªãã¸ã§ã¯ãã®1attributeæ¯ã«Objectçæããã®ã§é ã GCã®æéãå¢ãã 調æ»æ¹æ³: Githubã®commitãIssueã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}