JuliaCI / JuliaCI/BenchmarkTools.jl

No output when running @benchmark from script file

Open
#281 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Julia
Stars
684
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Is there a way to define benchmarks using @benchmark in a script file script.jl and run them via $ julia script.jl?

From the runtime of the Julia command, seems that the benchmarks are actually run, but theres nothing printed to my shell.

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

Reproduce the behavior using a script.jl file containing @benchmark and run it with julia script.jl. Start by checking whether the benchmark executes without displaying results, and determine what change would make the benchmark output appear in the shell. Done means running the script visibly prints its benchmark results.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.