Skip to content

perf: specialize qsort properly onto the lt function - #13409

Merged
hargoniX merged 1 commit into
masterfrom
hbv/qsort
Apr 14, 2026
Merged

hargoniX merged 1 commit into
masterfrom
hbv/qsort

Conversation

@hargoniX

Copy link
Copy Markdown
Member

No description provided.

@hargoniX
hargoniX requested a review from kim-em as a code owner April 14, 2026 19:22
@hargoniX

Copy link
Copy Markdown
Member Author

!bench

@leanprover-radar

leanprover-radar commented Apr 14, 2026 •

Copy link
Copy Markdown

Benchmark results for 4d6c1bf against a0ee357 are in. There are significant results. @hargoniX

  • ✅ build//instructions: -5.4G (-0.05%)

New metrics (7✅, 2)

  • ✅ compiled/io_compute//cycles: -5.3G (-29.94%)
  • ✅ compiled/io_compute//generate_sort: -925ms (-55.26%)
  • ✅ compiled/io_compute//instructions: -17.3G (-58.87%)
  • compiled/io_compute//maxrss: +0B (+0.00%)
  • ✅ compiled/io_compute//read: -1ms (-2.17%)
  • compiled/io_compute//shuffle: +0s (+0.00%)
  • ✅ compiled/io_compute//task-clock: -951ms (-30.35%)
  • ✅ compiled/io_compute//wall-clock: -951ms (-30.34%)
  • ✅ compiled/io_compute//write: -17ms (-2.16%)

Medium changes (2✅)

  • ✅ elab/big_omega//instructions: -305.4M (-1.31%)
  • ✅ elab/big_omega_MT//instructions: -295.4M (-1.26%)

Small changes (2✅, 46🟥)

Too many entries to display here. View the full report on radar instead.

@hargoniX hargoniX added the changelog-compiler Compiler, runtime, and FFI label Apr 14, 2026
@hargoniX
hargoniX enabled auto-merge April 14, 2026 19:57
@hargoniX
hargoniX added this pull request to the merge queue Apr 14, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Apr 14, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase a0ee357152b5e38e9cdcf6172db3955ae0328cd6 --onto d76e5a1886956bb38dc6bd2868260550dc66c309. You can force Mathlib CI using the force-mathlib-ci label. (2026-04-14 20:27:18)

@leanprover-bot

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase a0ee357152b5e38e9cdcf6172db3955ae0328cd6 --onto 861bc19e0c1c45b5766cc5c9ef0488568368b236. You can force reference manual CI using the force-manual-ci label. (2026-04-14 20:27:20)

Merged via the queue into master with commit 559f6c0 Apr 14, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-compiler Compiler, runtime, and FFI toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants