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

Performance of loading subscriptions in the CP #3773

Open
mdresoled opened this issue Nov 15, 2024 · 3 comments
Open

Performance of loading subscriptions in the CP #3773

mdresoled opened this issue Nov 15, 2024 · 3 comments

Comments

@mdresoled
Copy link

What happened?

Description

Loading any subscriptions or subscription plans in the CP is taking around 47,377ms. This seems to be growing exponentially based on how many plans I have in Stripe.

Note: I currently have around 163.

Steps to reproduce

  1. Add plans to Stripe
  2. Navigate to /admin/commerce/subscription-plans or /admin/commerce/subscriptions

Every new plan increase the loading/wait time in the CP.

Expected behavior

The loading time should be consistent .

Actual behavior

Loading time grows based on the number of plans in Stripe

Craft CMS version

5.5.0.1

Craft Commerce version

5.2.4

PHP version

8.3.13

Operating system and version

Linux 6.11.5-arch1-1

Database type and version

Postgres

Image driver and version

No response

Installed plugins and versions

No response

Copy link

linear bot commented Nov 15, 2024

PT-2312 [5.x]:

@lukeholder
Copy link
Member

@mdresoled how may plans do you have in stripe?

@lukeholder lukeholder changed the title [5.x]: Performance of loading subscriptions in the CP Nov 18, 2024
@mdresoled
Copy link
Author

@lukeholder around 160

@lukeholder lukeholder self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants