Skip to content

Progress Helper in Console component should mention setRedrawFrequency() instead of manual process #2586

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

Closed
dave1010 opened this issue May 2, 2013 · 1 comment
Labels
actionable Clear and specific issues ready for anyone to take them.
Milestone

Comments

@dave1010
Copy link
Contributor

dave1010 commented May 2, 2013

components/console/helpers/progresshelper.rst currently says this:

For performance reasons, be careful to not set the total number of steps
to a high number. For example, if you're iterating over a large number
of items, consider a smaller "step" number that updates on only some
iterations

But ProgressHelper::setRedrawFrequency() exists (in 2.2, possibly before), which seems to do this for you.

@wouterj
Copy link
Member

wouterj commented May 2, 2013

The ProgressHelper was new in 2.2, so I've given it a 2.2 milestone. I'm 👍 to document this (but still leave that message, as I think it's still relevant)

wouterj added a commit to wouterj/symfony-docs that referenced this issue May 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them.
Projects
None yet
Development

No branches or pull requests

3 participants