Skip to content

perf: reduce mem allocs in scs frontend#654

Merged
gbotrel merged 3 commits intodevelopfrom
perf/huntallocs
Apr 25, 2023
Merged

perf: reduce mem allocs in scs frontend#654
gbotrel merged 3 commits intodevelopfrom
perf/huntallocs

Conversation

@gbotrel
Copy link
Copy Markdown
Collaborator

@gbotrel gbotrel commented Apr 20, 2023

Example for a 1000 MiMC:

benchmark                   old ns/op     new ns/op     delta
BenchmarkCompileMiMC-10     226517208     170724021     -24.63%

benchmark                   old allocs     new allocs     delta
BenchmarkCompileMiMC-10     4101305        2656976        -35.22%

benchmark                   old bytes     new bytes     delta
BenchmarkCompileMiMC-10     363802628     181183808     -50.20%

Copy link
Copy Markdown
Collaborator

@ivokub ivokub left a comment

Choose a reason for hiding this comment

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

LGTM

@gbotrel gbotrel merged commit 94f1ddc into develop Apr 25, 2023
@gbotrel gbotrel deleted the perf/huntallocs branch April 25, 2023 15:00
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