Skip to content

Conversation

@oscardssmith
Copy link
Member

Before we just assumed that the cost of an invoke was 20 while it should be much lower for inferred types and much higher for uninferred types. Fixes https://discourse.julialang.org/t/extremely-slow-invoke-when-inlined/90665

@oscardssmith oscardssmith added the compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) label Nov 22, 2022
@vchuravy vchuravy added potential benchmark Could make a good benchmark in BaseBenchmarks needs nanosoldier run This PR should have benchmarks run on it labels Nov 22, 2022
@oscardssmith
Copy link
Member Author

@nanosoldier runbenchmarks(ALL, vs=":master")

@vtjnash vtjnash added merge me PR is reviewed. Merge when all tests are passing and removed needs nanosoldier run This PR should have benchmarks run on it potential benchmark Could make a good benchmark in BaseBenchmarks labels Nov 28, 2022
@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@oscardssmith
Copy link
Member Author

merge?

@vtjnash vtjnash merged commit 54a9c2f into JuliaLang:master Nov 29, 2022
@oscardssmith oscardssmith deleted the improve-inlining-cost-analysis-for-invoke branch November 29, 2022 16:41
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:optimizer Optimization passes (mostly in base/compiler/ssair/)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants