Skip to content

Combining allocations of HAL heap buffer's handle and storage. - #5512

Merged
benvanik merged 1 commit into
mainfrom
benvanik-buffer-prefix
Apr 19, 2021
Merged

benvanik merged 1 commit into
mainfrom
benvanik-buffer-prefix

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

Halves the allocation count for buffers, keeps the handle and storage memory close by to hopefully get some caching benefits on initial use, and reduces the noise in allocation traces.

@benvanik benvanik added performance ⚡ Performance/optimization related work across the compiler and runtime hal/cpu Runtime Host/CPU-based HAL backend labels Apr 19, 2021
@benvanik
benvanik requested a review from ScottTodd April 19, 2021 04:07
@google-cla google-cla Bot added the cla: yes label Apr 19, 2021
@benvanik
benvanik force-pushed the benvanik-buffer-prefix branch from 475b156 to 44730d5 Compare April 19, 2021 04:16
@benvanik
benvanik merged commit 292d4d7 into main Apr 19, 2021
@benvanik
benvanik deleted the benvanik-buffer-prefix branch April 19, 2021 16:20
@hanhanW hanhanW mentioned this pull request Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hal/cpu Runtime Host/CPU-based HAL backend performance ⚡ Performance/optimization related work across the compiler and runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants