{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":675665667,"defaultBranch":"master","name":"openstreetmap-website","ownerLogin":"stillhart","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-08-07T12:50:52.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/9038148?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1691414952.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"c1c593043854675eba3b9f453235c3bd5bfcb463","ref":"refs/heads/avoid_too_many_render","pushedAt":"2023-08-07T13:29:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"stillhart","name":"Stillhart","path":"/stillhart","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9038148?s=80&v=4"},"commit":{"message":"using partial rendering too many times is slow in rails and a known issue. this is because the whole render context is given to the partial. this view is using this extensively and thousands of times. just inlining the object should improve the performance. At the same time a lot of code can be de-duplicated. I kept a fallback in case of new objects. https://github.com/rails/rails/issues/41452","shortMessageHtmlLink":"using partial rendering too many times is slow in rails and a known i…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADZYIDawA","startCursor":null,"endCursor":null}},"title":"Activity · stillhart/openstreetmap-website"}