Skip to content

perf: replace notIn with equals on booking#8303

Merged
keithwillcode merged 5 commits into
calcom:mainfrom
anonrig:perf-booking-sql
Apr 17, 2023
Merged

perf: replace notIn with equals on booking#8303
keithwillcode merged 5 commits into
calcom:mainfrom
anonrig:perf-booking-sql

Conversation

@anonrig
Copy link
Copy Markdown
Contributor

@anonrig anonrig commented Apr 15, 2023

This pull request replaces notIn with equals due to performance constraints.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2023 7:25pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2023 7:25pm

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2023

@anonrig is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps 162.74 KB 394.03 KB 112.58% (🟢 -0.89%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Copy link
Copy Markdown
Contributor

@roae roae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@roae roae enabled auto-merge (squash) April 16, 2023 22:56
@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@keithwillcode keithwillcode merged commit b5c993e into calcom:main Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants