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

Fixtures loading slower than equivalent request #1720

Closed
tehandyb opened this issue May 15, 2018 · 3 comments
Closed

Fixtures loading slower than equivalent request #1720

tehandyb opened this issue May 15, 2018 · 3 comments

Comments

@tehandyb
Copy link

tehandyb commented May 15, 2018

Current behavior:

Large fixtures taking longer to load than the same data in an actual request

Desired behavior:

Large fixture should take much less time to load than the request.

Steps to reproduce:

I don't have a repo to do this with as mine is private. The fixture I am using is 1.7mb of json data, the same as generated from my rails backend. It takes 500ms for the real request/response, and takes around 4 seconds when I am using the fixture.

@jennifer-shehane
Copy link
Member

A reproducible repo would be very helpful to get this narrowed down - may be somewhat related to this issue #76

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label May 15, 2018
@tehandyb
Copy link
Author

@jennifer-shehane Thanks so much. It does seem related to that issue. I tried out @ankri solution and it was an improvement that took about half the time as the original real request. I'll try to come up with a reproducible repo.

@jennifer-shehane jennifer-shehane removed the stage: needs information Not enough info to reproduce the issue label Apr 24, 2019
@jennifer-shehane
Copy link
Member

Unfortunately we have to close this issue as there is not enough information to reproduce the problem.

Please comment in this issue with a reproducible example and we will reopen the issue. 🙏

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

No branches or pull requests

2 participants