JuliaImages / JuliaImages/image_benchmarks

The Time Policy on the Tests Is Not Uniform

Open
#5 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

For Julia test the time reported is the mean time of the function execution.
While for MATLAB it is the median time of several runs.

To make it uniform one might want to change the MATLAB policy (It can be pretty easy by adjusting few lines in timeit()).

In cases of short run time functions this might be significant.

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

Compare the Julia test timing path with MATLAB's timeit() implementation, which the issue identifies as the likely change point. Read how each reports execution time, then adjust the MATLAB policy so both suites use a uniform measurement approach and check short-running functions to confirm the reported results are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, matlab
Domain
performance, testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.