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

improve search performance #218

Merged
merged 1 commit into from
Jun 1, 2015
Merged

improve search performance #218

merged 1 commit into from
Jun 1, 2015

Conversation

Flyingmana
Copy link
Contributor

each toggle() of a package triggers a render of the browser content,
to reduce the number of renders, we hide the element containing all
packages during the filtering.

with the big number of packages we have at http://packages.firegento.com/ a search can need >30s.
JS profiling showed, the JS is only busy ~2-3s and idles during the rest.

with this patch the rendering time for a search was reduced to just a few seconds.

each toggle() of a package triggers a render of the browser content,
to reduce the number of renders, we hide the element containing all
packages during the filtering
@Flyingmana
Copy link
Contributor Author

the satis at http://packages.firegento.com/ now include this changes, so you can test them there.

Seldaek added a commit that referenced this pull request Jun 1, 2015
@Seldaek Seldaek merged commit 8506997 into composer:master Jun 1, 2015
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.

2 participants