Skip to content

performance pass - #121

Open
halfcyan wants to merge 4 commits into
cypress/ch-abstractionfrom
cypress/performance-pass
Open

performance pass#121
halfcyan wants to merge 4 commits into
cypress/ch-abstractionfrom
cypress/performance-pass

Conversation

@halfcyan

Copy link
Copy Markdown
Member

i just wanted to do a larger pass of everything performance-wise since small improvements add up in a system like this


Stack created with GitHub Stacks CLIGive Feedback 💬

@halfcyan

Copy link
Copy Markdown
Member Author

added the benchmarking stuff to see how much this improves stuff and uh. wow.

VM count Before: full scan After: delta construction Approx. speedup
10 116 µs 51 µs 2.3x
100 752 µs 41 µs 18.4x
1,000 5.91 ms 42 µs 140x
10,000 57.83 ms 41 µs 1,412x
100,000 567.92 ms 41 µs 13,795x

@halfcyan
halfcyan force-pushed the cypress/performance-pass branch from 0910116 to 4d14227 Compare August 23, 2026 15:56
@halfcyan

Copy link
Copy Markdown
Member Author

the biggest thing is that the heartbeat resource calc changed from O(VMs) to O(1) which is massive

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