Skip to content

Conversation

@timholy
Copy link
Member

@timholy timholy commented Apr 15, 2025

This leverages the new timing fields of CodeInstance to replace the old Core.Compiler.Timings module. There is a bit of loss particularly in the domain of constant-propagation, which is illustrated in https://gist.github.com/timholy/9a64b27c1932bb414e69b8fe48284b5e. (Read testcase.jl before looking at the results.) As a consequence there are a small handful of failing tests locally, but the vast majority pass.

This requires JuliaLang/julia#58124 or alternatively (with some modification to this PR) JuliaLang/julia#58123.

@timholy timholy requested review from NHDaly and vtjnash April 15, 2025 12:33
@timholy timholy force-pushed the teh/new_inftiming branch 2 times, most recently from 3622e17 to 49ff0b2 Compare July 22, 2025 16:07
@timholy timholy marked this pull request as ready for review July 22, 2025 16:07
@timholy
Copy link
Member Author

timholy commented Jul 22, 2025

Passes locally except the JET extension test (JET.jl does not guarantee compatibility with pre-release versions of Julia and is not be loaded on this versions by default.) on nightly with JuliaLang/julia#58124. So this should be ready to merge once that merges.

Get some stuff working

Add backtraces to itrigs

This depends on changes to Julia

More tests working

Improve handling of constprop

more tree work

flamegraphs

Apply suggestions from code review

Co-authored-by: Jameson Nash <[email protected]>

Various fixes

More fix
@timholy timholy force-pushed the teh/new_inftiming branch from d2d2b5c to 7008f58 Compare August 29, 2025 12:23
@timholy
Copy link
Member Author

timholy commented Aug 29, 2025

The main tests pass, it's now the Cthulhu extension that fails.

@timholy timholy merged commit 292eb41 into dev Aug 29, 2025
1 of 8 checks passed
@timholy timholy deleted the teh/new_inftiming branch August 29, 2025 15:38
timholy added a commit that referenced this pull request Sep 3, 2025
This leverages the new timing fields of CodeInstance to replace the old
Core.Compiler.Timings module. There is a bit of loss particularly in the
domain of constant-propagation, which is illustrated in
https://gist.github.com/timholy/9a64b27c1932bb414e69b8fe48284b5e. (Read
testcase.jl before looking at the results.) As a consequence there are a
small handful of failing tests locally, but the vast majority pass.
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.

3 participants