Skip to content

Optional Memory benchmark flag in benchmarking scripts #32713

Open
@yashLadha

Description

@yashLadha

Is your feature request related to a problem? Please describe.
Recently i am trying. to reduce the memory allocation in some implementation and wanted to benchmark my solution, to avoid speed reduction and promote memory reduction. However, to my surprise, compare.js script currently only does the speed benchmarking.

Describe the solution you'd like
I wanted to propose a flag that enables the memory benchmarks in the comparison script. This can be used along with the speed benchmarking to infer that changes do not reduce the speed of already running code.

Describe alternatives you've considered
Open to possible hacks but would be great if it is included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    benchmarkIssues and PRs related to the benchmark subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions