Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf: Speed up conversions query #5084

Merged

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Feb 18, 2025

Follow-up to #5029. The conversions query became slow after this change.

The root cause was:

  1. The extra string equality checks
  2. The extra regex operations

This change fixes that by shuffling operations around and not matching e.g. page paths on custom event goals.

Timing information

Before: 14.4s
After: 1.1s

@macobo macobo added the preview label Feb 18, 2025
Copy link

Preview environment👷🏼‍♀️🏗️
PR-5084

@macobo macobo force-pushed the speed-up-conversions-report branch from d5c3734 to 2cf010a Compare February 18, 2025 09:47
@macobo macobo changed the base branch from master to speed-up-conversions-report-migration February 18, 2025 09:47
@macobo macobo changed the title WIP: Attempt at speeding up conversions query Perf: Speed up conversions query Feb 18, 2025
@macobo macobo force-pushed the speed-up-conversions-report branch from 2cf010a to 53de2e2 Compare February 18, 2025 09:48
@macobo macobo force-pushed the speed-up-conversions-report branch from 53de2e2 to ed8b314 Compare February 18, 2025 09:50
@macobo macobo requested a review from RobertJoonas February 18, 2025 09:59
@macobo macobo merged commit f0dc53e into speed-up-conversions-report-migration Feb 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants