Flight Log / calcom/cal.com #22067
feat: optimize slot calculation performance for team event types — a Devin (Cognition) bot flight
The Devin bot (Cognition) opened this pull request in calcom/cal.com on Jun 26, 2025; a burn — closed unmerged after human review: +3,923 −3,656, 4 files, 1 review.
- Lines
- +3,923 −3,656
- Files
- 4
- Commits
- 9
- Reviews
- 1
- To merge
- —
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Devin, on calcom/cal.com, took on a feat to optimize slot calculation for team event types. The change replaces an O(n²) linear search with binary search for slow four-week loads. The diff spans four files, 3923 additions and 3656 deletions, over nine commits. One review, no change requests. Closed unmerged after review, a burn.
“🚀”
— from the review (source)
From the pull request description
# Optimize slot calculation performance with binary search algorithm ## Summary This PR addresses the performance bottleneck in Cal.com's team event scheduling where loading 4 weeks of data takes 5-7.5 seconds instead of the expected 2 seconds. The root cause was an O(n²) linear search through slo…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —reviewed
- —committedDevin AI
- —committedDevin AI
- Jun 26, 2025labeledkeithwillcode
Read next
Cite this flight: AgentRiders Flight Log, calcom/cal.com#22067, record updated Nov 4, 2026, https://agentriders.com/logs/calcom/cal.com/22067/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.