Skip to content

WIP: Enable Ruby JIT for the test suite

Nick Thomas requested to merge ruby-jit-on-test-suite into master

What does this MR do?

Enables Ruby's JIT for the test suite

Per https://developer.squareup.com/blog/rubys-new-jit/ , this might be a terrible idea at the moment. I just want to see whether:

  1. The test suite actually runs
  2. How performance compares to a master test suite run

Switching to ruby 2.7 brings along a number of JIT improvements: https://medium.com/@k0kubun/jit-development-progress-at-ruby-2-7-d6dd62a8c76a - if things are close, we might find that a ruby bump is enough to make this worthwhile.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability 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 Nick Thomas

Merge request reports