Skip to content

Do full despecialization on components and connectors#4568

Draft
KristofferC wants to merge 2 commits into
SciML:masterfrom
KristofferC:kc/despec_components_connector
Draft

Do full despecialization on components and connectors#4568
KristofferC wants to merge 2 commits into
SciML:masterfrom
KristofferC:kc/despec_components_connector

Conversation

@KristofferC

Copy link
Copy Markdown
Contributor

These don't do any real work but can take a significant time to compile, as an example, for a large model, as a baseline, I am seeing:

create model: 62.041103 seconds (193.16 M allocations: 9.779 GiB, 6.39% gc time, 99.79% compilation time: <1% of which was recompilation)

But with this PR active:

create model: 24.796934 seconds (67.98 M allocations: 3.496 GiB, 8.33% gc time, 98.84% compilation time: <1% of which was recompilation)

Note, this requires the not-yet-merged JuliaLang/julia#61746 to have any effect

These dont do any real work but can take a signficant time to compile, as an example, for a large model, as a baseline, I am seeing:

```
create model: 62.041103 seconds (193.16 M allocations: 9.779 GiB, 6.39% gc time, 99.79% compilation time: <1% of which was recompilation)
```

but with this PR active:

```
create model: 24.796934 seconds (67.98 M allocations: 3.496 GiB, 8.33% gc time, 98.84% compilation time: <1% of which was recompilation)
```

Note, this requires the not yet merged JuliaLang/julia#61746 to have any effect
@KristofferC KristofferC force-pushed the kc/despec_components_connector branch from d4123e0 to 7e0e931 Compare May 29, 2026 13:36
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.

1 participant