Skip to content

chore: enable garbage collection in benchmark script#334

Closed
nigrosimone wants to merge 1 commit intodimdenGD:mainfrom
nigrosimone:gc-benchemark
Closed

chore: enable garbage collection in benchmark script#334
nigrosimone wants to merge 1 commit intodimdenGD:mainfrom
nigrosimone:gc-benchemark

Conversation

@nigrosimone
Copy link
Copy Markdown
Contributor

@nigrosimone nigrosimone commented Apr 17, 2026

This change improves benchmark consistency by reducing memory noise between scenario runs. Invoke global.gc() (force run garbage collector) before starting each benchmark scenario, if the GC API is available.

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