run_benchmarks broken

Open
#395 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Run include("perf/run_benchmarks.jl") and inspect the failure reported from perf/benchmark2.jl at line 141. Trace the StaticArrays.MArray type assertion that receives an SArray, then verify that the benchmark suite completes without the reported LoadError.

Written by the indexing model from the issue text.

Description

benchmarking bug performance
julia> include("perf/run_benchmarks.jl")
INFO: Recompiling stale cache file /Users/twan/code/julia/RigidBodyDynamics/lib/v0.6/StaticArrays.ji for module StaticArrays.
=====================================
    Benchmarks for 2×2 matrices
=====================================
ERROR: LoadError: LoadError: TypeError: typeassert: expected StaticArrays.MArray{Tuple{S1,S2},T,2,L} where L where T where S2 where S1, got StaticArrays.SArray{Tuple{2,2},Float64,2,4}
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /Users/twan/code/julia/RigidBodyDynamics/v0.6/StaticArrays/perf/run_benchmarks.jl:7 [inlined]
 [4] anonymous at ./<missing>:?
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
while loading /Users/twan/code/julia/RigidBodyDynamics/v0.6/StaticArrays/perf/benchmark2.jl, in expression starting on line 141
while loading /Users/twan/code/julia/RigidBodyDynamics/v0.6/StaticArrays/perf/run_benchmarks.jl, in expression starting on line 5
Dominant language
Julia
Stars
844
Forks
159
Avg merge
3d 21h
Merged PRs (30d)
3

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.

More from JuliaArrays/StaticArrays.jl

All issues in JuliaArrays/StaticArrays.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.