Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscription benches: reorder footprint fields #1209

Merged
merged 1 commit into from
May 7, 2024

Conversation

Centril
Copy link
Contributor

@Centril Centril commented May 7, 2024

Description of Changes

Reorder footprint table in subscription benchmarks to be more optimal wrt. layout such that there is less padding and so to-bsatn serialization uses fewer memcpy fields. This does not improve the performance of spacetimedb but represents better what spacetimedb is capable of when a table is optimized.

Extracted from #1207 in the interest of smaller PRs.

API and ABI breaking changes

None

Expected complexity level and risk

1

@Centril Centril requested a review from joshua-spacetime May 7, 2024 12:55
Copy link
Contributor

@mamcx mamcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Centril Centril added this pull request to the merge queue May 7, 2024
Merged via the queue into master with commit 1be912b May 7, 2024
7 checks passed
@Centril Centril deleted the centril/more-optimal-sub-benches branch May 7, 2024 17:34
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.

2 participants