timholy / timholy/ProgressMeter.jl

Option for ProgressMeter to for short tasks

Open
#69 1 comment 2 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.