JuliaCI / JuliaCI/BenchmarkTools.jl
Feature idea: Check which function is faster
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 684
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
I use @btime (and hypertime) to time, looking for the minimum time.
They both take some time, longer than @time which isn't reliable.
I was thinking would it be valuable to run task A, task B, A, B, etc. to see which is faster? Or because of cache, maybe A, A, .. A, B, B, ...B, and maybe again A..., B...?
Often I don't really care about the exact minimum value, I just care which is faster since I'm optimizing, and figure it might need way fewer runs, still statistically significant.
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
Review the existing @btime, hypertime, and @time behavior described in the issue, then inspect how BenchmarkTools currently runs and compares repeated measurements. Clarify the statistical goal and ordering strategy before proposing an implementation. Done would require an agreed comparison feature with documented behavior and tests demonstrating that task A and task B can be compared reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100