Commit Graph
719780 Commits
Author SHA1 Message Date
Sam James 778555f772 ruby-ng.eclass: use bash tests
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:19 +01:00
Sam James acf9258596 ruby-ng.eclass: use bash +=
Easier to read.

Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:18 +01:00
Sam James 48a0a44098 ruby-ng.eclass: optimize: avoid subshells for ruby_implementations_depend, ruby_get_use_targets
We go from 2.5s -> 1.9s to source dev-ruby/*.

Bug: https://bugs.gentoo.org/908465
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:17 +01:00
Sam James 676e6dc3f4 ruby-ng.eclass: optimize: avoid subshells for _ruby_atoms_samelib*
- Inline ruby_atoms_samelib (only used by one caller)
- Avoid repeated (subshell) calls to _ruby_atoms_samelib_generic by using a result
  variable instead.

We go from 3.5s -> 2.5s to source dev-ruby/*.

Thanks to mgorny for the ideas here.

Bug: https://bugs.gentoo.org/908465
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:16 +01:00
Sam James 390ad2effe ruby-ng.eclass: optimize: avoid subshell for ruby_get_all_impls
We go from ~4s -> ~3.5s for sourcing dev-ruby/*.

For sinatra:

```
$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # before
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 66.68ms, min: 56.938ms, max: 74.248ms, σ = 4.832ms, N = 75
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 73.618ms, min: 60.153ms, max: 77.978ms, σ = 3.195ms, N = 68
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 72.069ms, min: 58.736ms, max: 78.223ms, σ = 3.277ms, N = 70
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 73.265ms, min: 60.738ms, max: 81.06ms, σ = 3.227ms, N = 69

$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # after
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 59.677ms, min: 49.141ms, max: 63.282ms, σ = 2.511ms, N = 84
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 59.693ms, min: 48.637ms, max: 62.862ms, σ = 2.628ms, N = 84
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 56.697ms, min: 46.782ms, max: 60.367ms, σ = 2.822ms, N = 89
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 54.915ms, min: 45.832ms, max: 59.513ms, σ = 3.52ms, N = 92
```

Bug: https://bugs.gentoo.org/908465
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:16 +01:00
Sam James 89925fc4e6 ruby-ng.eclass: optimize: use pattern substitution
We can save a little bit (consistently a few ms) by using patsubs in some
obvious cases.

Not really any difference globally, but for sinatra:
```
$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # before
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 76.25ms, min: 59.23ms, max: 83.674ms, σ = 4.247ms, N = 66
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 77.465ms, min: 61.782ms, max: 85.127ms, σ = 3.592ms, N = 65
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 80.192ms, min: 60.922ms, max: 84.951ms, σ = 3.899ms, N = 63
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 80.389ms, min: 56.818ms, max: 86.915ms, σ = 4.508ms, N = 63

$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # after
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 66.68ms, min: 56.938ms, max: 74.248ms, σ = 4.832ms, N = 75
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 73.618ms, min: 60.153ms, max: 77.978ms, σ = 3.195ms, N = 68
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 72.069ms, min: 58.736ms, max: 78.223ms, σ = 3.277ms, N = 70
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 73.265ms, min: 60.738ms, max: 81.06ms, σ = 3.227ms, N = 69
```

Bug: https://bugs.gentoo.org/908465
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:15 +01:00
Sam James 0bb6c7f956 ruby-ng.eclass: optimize: use pattern for old ruby impls
Not much improvement on a grand scale, but for dev-ruby/sinatra at least, we get:
```
$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # before
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 76.25ms, min: 59.23ms, max: 83.674ms, σ = 4.247ms, N = 66
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 77.465ms, min: 61.782ms, max: 85.127ms, σ = 3.592ms, N = 65
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 80.192ms, min: 60.922ms, max: 84.951ms, σ = 3.899ms, N = 63
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 80.389ms, min: 56.818ms, max: 86.915ms, σ = 4.508ms, N = 63

$ pk pkg source $(pkg) --repo ~/g/ --bench 5s # after
dev-ruby/sinatra-3.0.6::/home/sam/g/: mean: 72.761ms, min: 58.627ms, max: 76.161ms, σ = 3.276ms, N = 69
dev-ruby/sinatra-3.0.5-r1::/home/sam/g/: mean: 72.967ms, min: 60.127ms, max: 76.75ms, σ = 3.176ms, N = 69
dev-ruby/sinatra-3.0.5::/home/sam/g/: mean: 69.004ms, min: 58.344ms, max: 73.661ms, σ = 3.3ms, N = 73
dev-ruby/sinatra-2.2.3::/home/sam/g/: mean: 71.061ms, min: 55.144ms, max: 74.563ms, σ = 3.848ms, N = 71
```

A tiny, but seemingly consistent improvement.

Thanks to mgorny for the idea.

Bug: https://bugs.gentoo.org/908465
Signed-off-by: Sam James <sam@gentoo.org>
2023-06-15 22:12:14 +01:00
Mike Gilbert caaf43dd02 profiles: add masks for sys-apps/musl-locales
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-06-15 16:43:33 -04:00
Mike Gilbert c01c0df19e sys-apps/musl-locales: add blocker on glibc
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-06-15 16:38:17 -04:00
Mike Gilbert 34d3f70685 sys-apps/musl-locales: new package, add 0.1.0
Bug: https://bugs.gentoo.org/864963
Bug: https://bugs.gentoo.org/865867
Bug: https://bugs.gentoo.org/874636
Bug: https://bugs.gentoo.org/898528
Bug: https://bugs.gentoo.org/906015
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-06-15 16:29:19 -04:00
James Le Cuirot 6cf6a9b04f www-client/vivaldi: Add version 6.1.3035.84
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2023-06-15 21:27:10 +01:00
Stephan Hartmann d6bbecf125 www-client/chromium: beta channel bump to 115.0.5790.32
Closes: https://bugs.gentoo.org/908432
Closes: https://bugs.gentoo.org/908467
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
2023-06-15 22:25:55 +02:00
William Hubbs 3d9b02c924 app-admin/awscli-bin: drop 2.11.5
Signed-off-by: William Hubbs <williamh@gentoo.org>
2023-06-15 14:29:28 -05:00
William Hubbs e14cbfeb9e app-admin/awscli-bin: add 2.12.0
Signed-off-by: William Hubbs <williamh@gentoo.org>
2023-06-15 14:28:10 -05:00
William Hubbs 03ce9f9a35 app-admin/awscli-bin: drop 2.7.20, 2.7.24, 2.7.28, 2.9.23
Signed-off-by: William Hubbs <williamh@gentoo.org>
2023-06-15 14:20:46 -05:00
Patrick McLean 0a4c2c0dfa sys-block/dust: new package, add 0.8.6
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2023-06-15 12:20:07 -07:00
Patrick McLean 52a1fb1d2b dev-libs/simdjson: drop 3.0.0, 3.1.6
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2023-06-15 12:02:57 -07:00
Patrick McLean f125be9ca5 dev-libs/simdjson: add 3.2.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2023-06-15 12:02:32 -07:00
Michał Górny d5b11f8c5e dev-python/cython: Backport reverse iterator fix to 3.0.0_beta3-r2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-06-15 20:26:11 +02:00
Matthias Maier 454365d389 sci-libs/arborx: add 1.4.1
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
2023-06-15 13:25:00 -05:00
Arthur Zamarin 424e929fda dev-ml/alcotest: Keyword 1.7.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:37 +03:00
Arthur Zamarin cbd37e56ab dev-ml/async: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:37 +03:00
Arthur Zamarin 7ad5756826 dev-ml/async_rpc_kernel: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:36 +03:00
Arthur Zamarin 779d102f86 dev-ml/protocol_version_header: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:36 +03:00
Arthur Zamarin d415132243 dev-ml/async_unix: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:35 +03:00
Arthur Zamarin 80f27724ad dev-ml/core_bench: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:35 +03:00
Arthur Zamarin f425dcb761 dev-ml/textutils: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:34 +03:00
Arthur Zamarin 33b26f2113 dev-ml/textutils_kernel: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:34 +03:00
Arthur Zamarin b12e918b5a dev-ml/core_unix: Keyword 0.15.2-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:34 +03:00
Arthur Zamarin f39c6b2d44 dev-ml/timezone: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:33 +03:00
Arthur Zamarin 8de58344ba dev-ml/ocaml_intrinsics: Keyword 0.15.2 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:33 +03:00
Arthur Zamarin 15ca426080 dev-ml/expect_test_helpers_core: Keyword 0.15.0-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:32 +03:00
Arthur Zamarin d5eab4d158 dev-ml/sexp_pretty: Keyword 0.15.1-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:32 +03:00
Arthur Zamarin 8c17a12f74 dev-ml/async_kernel: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:31 +03:00
Arthur Zamarin 473e87de1d dev-ml/core_kernel: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:31 +03:00
Arthur Zamarin e0b01e7f32 dev-ml/core: Keyword 0.15.1-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:30 +03:00
Arthur Zamarin cb92bf0a78 dev-ml/base_bigstring: Keyword 0.15.0-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:30 +03:00
Arthur Zamarin dd12dd3347 dev-ml/int_repr: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:29 +03:00
Arthur Zamarin 300aeaab34 dev-ml/ppx_jane: Keyword 0.15.0 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:29 +03:00
Arthur Zamarin 1f39a99fef dev-ml/ppx_log: Keyword 0.15.0-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:28 +03:00
Arthur Zamarin 6d1f957a75 dev-ml/ppx_ignore_instrumentation: Keyword 0.15.0-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:28 +03:00
Arthur Zamarin 9ef629fb82 dev-ml/ppx_disable_unused_warnings: Keyword 0.15.0-r1 ppc64, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:27 +03:00
Arthur Zamarin 32bd6b99a0 dev-ml/alcotest: Keyword 1.7.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:24 +03:00
Arthur Zamarin 11e1d80dd6 dev-ml/async: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:24 +03:00
Arthur Zamarin ea254bd727 dev-ml/async_rpc_kernel: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:23 +03:00
Arthur Zamarin 80bf0648bb dev-ml/protocol_version_header: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:23 +03:00
Arthur Zamarin e7ab2dfbcb dev-ml/async_unix: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:22 +03:00
Arthur Zamarin b10b9f5668 dev-ml/core_bench: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:22 +03:00
Arthur Zamarin e740cd7c4b dev-ml/textutils: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:21 +03:00
Arthur Zamarin c67ad79052 dev-ml/textutils_kernel: Keyword 0.15.0 ppc, #892131
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-06-15 21:19:21 +03:00