Skip to content

Add benchmark-memory Ruby gem

Ash McKenzie requested to merge ashmckenzie/add-benchmark-memory into master

What does this MR do?

Continuing on from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28698 (and https://gitlab.com/gitlab-org/gitlab-ce/issues/62270), this MR adds the benchmark-memory Ruby gem which utilises the memory_profiler Ruby gem to allow blocks of Ruby code to benchmarked.

It is the ability to benchmark a block of Ruby code where benchmark-memory offers additional value over memory_profiler.

cc @ayufan, @stanhu

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • ~~[ ] Label as security and @ mention @gitlab-com/gl-security/appsec~~
  • [ ] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [ ] Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports