Skip to content

/events/upcoming: 31 queries and ~467ms median per render #2888

Description

@mroderick

Summary

Same shape as the /events/past issue (share findings with it — the code paths are siblings in EventsController):

  • Measured 3h window on 2026-09-16/17: 122 requests, median 467ms, max 13.7s, 31 queries, median db_runtime 83ms. Stale — re-measure before starting.
  • Code path: EventsController#upcomingfetch_upcoming_eventspaginated_events(upcoming: true)load_eventsEventPresenter.decorate_collection
  • Suggested directions: same as /events/past (query audit, batch loads, check existing event_card_component fragment hit rate)

Related: #2885

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance issues and optimizations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions