Upgrade bundler to 2.3.22
What does this MR do and why?
https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md
Upgrade includes performance improvements like:
- https://github.com/rubygems/rubygems/pull/5537
- https://github.com/rubygems/rubygems/pull/5546
- https://github.com/rubygems/rubygems/pull/5695
Before upgrade:
➜ gitlab git:(master) hyperfine "ruby -rbundler/setup -e1"
Benchmark 1: ruby -rbundler/setup -e1
Time (mean ± σ): 946.8 ms ± 36.4 ms [User: 276.7 ms, System: 158.1 ms]
Range (min … max): 882.1 ms … 1008.6 ms 10 runs
After upgrade:
➜ gitlab git:(hly-upgrade-bundler) hyperfine "ruby -rbundler/setup -e1"
Benchmark 1: ruby -rbundler/setup -e1
Time (mean ± σ): 841.9 ms ± 89.0 ms [User: 205.7 ms, System: 151.3 ms]
Range (min … max): 761.2 ms … 1083.6 ms 10 runs
I think the performance improvement is negligible but it would be good to be on the latest version anyway.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Heinrich Lee Yu