timholy / timholy/ProgressMeter.jl
Option for ProgressMeter to for short tasks
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 789
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
When the task takes less time than progressmeter.dt, the ProgressMeter is never printed. This is probably desirable in many cases, but I have cases where I would like it to print even if the task finishes quickly. For now I do progressmeter.tlast-=1 after creation, but thats a bit of a hack. Maybe a keyword argument print_immediately=true could be added?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the ProgressMeter construction and timing behavior around progressmeter.dt and progressmeter.tlast. Check existing tests or examples for ProgressMeter output, then add coverage showing the proposed immediate-print option and verify that short tasks print when requested while existing behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100