Skip to content

Remove unused perf/lu.jl benchmark script#110

Merged
ChrisRackauckas merged 2 commits into
JuliaLinearAlgebra:masterfrom
ChrisRackauckas-Claude:remove-perf-lu
May 23, 2026
Merged

Remove unused perf/lu.jl benchmark script#110
ChrisRackauckas merged 2 commits into
JuliaLinearAlgebra:masterfrom
ChrisRackauckas-Claude:remove-perf-lu

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown

Please ignore until reviewed by @ChrisRackauckas.

Summary

Closes #109.

perf/lu.jl defines a luflop helper that uses sum((k+1):m) for the scaling step. That sums the indices k+1, k+2, ..., m instead of counting the m - k scaling multiplications, so the GFLOPs the script prints are systematically inflated.

Per the issue thread, the script isn't referenced from the package or the test suite, so this PR just removes it. The matching helper in the SciMLBenchmarks LU benchmark is being fixed separately in SciML/SciMLBenchmarks.jl PR for fix/luflop-scaleflop-count.

Test plan

  • ]test RecursiveFactorization still passes (the test suite never used perf/lu.jl).
  • No remaining references to perf/lu.jl or luflop in the repo: git grep -n 'perf/lu.jl\|luflop' returns nothing.

🤖 Generated with Claude Code

The `luflop` helper used `sum((k+1):m)` for the scaling step,
which sums the indices `k+1, k+2, ..., m` instead of counting
the `m - k` scaling multiplications, so any GFLOPs reported by
the script were systematically inflated (issue JuliaLinearAlgebra#109).

The script is not referenced from the package or its test suite,
so remove it rather than fixing it in place, as suggested in
the issue thread.

Closes JuliaLinearAlgebra#109.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
`perf/lu.jl` is being removed; replace the README reference with
a link to the corresponding SciMLBenchmarks page, which covers the
same comparison with a maintained benchmark.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review May 23, 2026 08:56
@ChrisRackauckas ChrisRackauckas merged commit bc3bb8a into JuliaLinearAlgebra:master May 23, 2026
0 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is lu flop count correct?

2 participants