Skip to content

Broad performance changes (draft - early comments welcome) - #4182

Draft
ashprice wants to merge 33 commits into
GothenburgBitFactory:developfrom
ashprice:native-depmap
Draft

Broad performance changes (draft - early comments welcome)#4182
ashprice wants to merge 33 commits into
GothenburgBitFactory:developfrom
ashprice:native-depmap

Conversation

@ashprice

@ashprice ashprice commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Todo: itemize changes and what specifically they improve, make a better title, few more cleanup commits and small optimisations, check that I haven't borked any debug outputs, and a comments commit to make the code readable for future contributors, link related issues (incl. hooks bug). Will update this description with a list within the next week.

Early comments welcome.

Most changes focus on optimizing the TW-specific hot paths.

The stuff around the FFI are what I'm most unsure on, and I think changes to the API and TC's dependency map would be next on my list after this PR, but I think that should wait til after iterative tasks land and stabilize.

I think some of my comments on the discord were a bit misinformed due my fork being a out of sync - I think I confused myself.

ashprice and others added 27 commits July 2, 2026 12:05
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>

Comment.

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
…objects.

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>

Derp.

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
… in colDepends.

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
…r uuid lookup with random report.

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
…D() calls

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
…ally, add tests

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
…utation

Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
Signed-off-by: ashprice <gitcommit1@sl.ashprice.co.uk>
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