Skip to content

Conversation

@naitoh
Copy link
Contributor

@naitoh naitoh commented Sep 21, 2025

Benchmark

$ benchmark-driver benchmark/sax.yaml
                         before       after  before(YJIT)  after(YJIT)
                 sax     2.309k      2.317k        2.760k       2.879k i/s -     100.000 times in 0.043300s 0.043155s 0.036238s 0.034738s

Comparison:
                              sax
         after(YJIT):      2878.7 i/s
        before(YJIT):      2759.5 i/s - 1.04x  slower
               after:      2317.2 i/s - 1.24x  slower
              before:      2309.5 i/s - 1.25x  slower
  • YJIT=ON : 1.04x faster
  • YJIT=OFF : 1.00x faster

@naitoh naitoh requested a review from kou September 21, 2025 06:35
@naitoh naitoh force-pushed the fix_get_procs_get_listeners_performance_sax branch from 96e1fd5 to ea63857 Compare September 21, 2025 22:26
## Benchmark
```
$ benchmark-driver benchmark/sax.yaml
                         before       after  before(YJIT)  after(YJIT)
                 sax     2.309k      2.317k        2.760k       2.879k i/s -     100.000 times in 0.043300s 0.043155s 0.036238s 0.034738s

Comparison:
                              sax
         after(YJIT):      2878.7 i/s
        before(YJIT):      2759.5 i/s - 1.04x  slower
               after:      2317.2 i/s - 1.24x  slower
              before:      2309.5 i/s - 1.25x  slower
```
- YJIT=ON : 1.04x faster
- YJIT=OFF : 1.00x faster
@naitoh naitoh force-pushed the fix_get_procs_get_listeners_performance_sax branch from ea63857 to 27e5a09 Compare September 21, 2025 22:27
@naitoh naitoh requested a review from kou September 21, 2025 22:31
@kou kou merged commit 8c41d35 into ruby:master Sep 22, 2025
67 checks passed
@naitoh naitoh deleted the fix_get_procs_get_listeners_performance_sax branch September 22, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants