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

Buffer Rework #71

Merged
merged 2 commits into from
Feb 10, 2024
Merged

Buffer Rework #71

merged 2 commits into from
Feb 10, 2024

Conversation

DavJCosby
Copy link
Owner

See #69

Copy link

Benchmark for 3709737

Click to view benchmark
Test Base PR %
quirky_trail 79.4±1.16ms 79.7±0.68ms +0.38%
ripples 54.6±12.91ms 42.9±16.39ms -21.43%

@DavJCosby
Copy link
Owner Author

DavJCosby commented Feb 10, 2024

Results might be partially due to some smarter use of buffers in the benchmarks' draw method, but I don't think it should make 20% of a difference. I'm taking these results with a grain of salt, but all in all the fact that switch to trait objects + dynamic casting didn't have the opposite effect is a terrific sign!

@DavJCosby DavJCosby merged commit 8ea10fe into master Feb 10, 2024
2 checks passed
Copy link

Benchmark for 3709737

Click to view benchmark
Test Base PR %
quirky_trail 78.7±0.13ms 79.3±0.54ms +0.76%
ripples 55.6±11.93ms 52.0±11.97ms -6.47%

@DavJCosby DavJCosby mentioned this pull request Feb 13, 2024
@DavJCosby DavJCosby deleted the BufferContainer-rework branch March 29, 2024 20:44
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