Skip to content

Conversation

@XrXr
Copy link
Member

@XrXr XrXr commented Mar 3, 2021

Guarded with defined? so Rubies without uJIT can still run it.

Guarded with `defined?` so Rubies without uJIT can still run it.
@XrXr XrXr merged commit e7fbc32 into main Mar 3, 2021
@XrXr XrXr deleted the reset-stats branch March 3, 2021 22:40
byroot added a commit to byroot/yjit-bench that referenced this pull request Jan 29, 2025
THe initial snapshot was from a few years back, the application changed
a lot since then.

I had to run a bunch of migrations and had to fiddle with various sqlite3/msyql
incompatibilities. Also some route changes, but with a bit of effort I managed
to make it work again.

What is interesting is it seems lobste.rs became 2-3-x as slow in these
couple years, I haven't yet profiled to know why.

This branch:

```
itr:   time
 ruby#1: 1532ms
 ruby#2: 1013ms
 ruby#3:  910ms
 ruby#4:  852ms
 ruby#5:  851ms
 ruby#6:  901ms
 ruby#7:  857ms
 ruby#8:  886ms
 ruby#9:  875ms
```

main:

```
itr:   time
 ruby#1:  884ms
 ruby#2:  482ms
 ruby#3:  344ms
 ruby#4:  358ms
 ruby#5:  300ms
 ruby#6:  316ms
 ruby#7:  315ms
 ruby#8:  328ms
 ruby#9:  309ms
```
byroot added a commit to byroot/yjit-bench that referenced this pull request Jan 30, 2025
THe initial snapshot was from a few years back, the application changed
a lot since then.

I had to run a bunch of migrations and had to fiddle with various sqlite3/msyql
incompatibilities. Also some route changes, but with a bit of effort I managed
to make it work again.

What is interesting is it seems lobste.rs became 2-3-x as slow in these
couple years, I haven't yet profiled to know why.

This branch:

```
itr:   time
 ruby#1: 1532ms
 ruby#2: 1013ms
 ruby#3:  910ms
 ruby#4:  852ms
 ruby#5:  851ms
 ruby#6:  901ms
 ruby#7:  857ms
 ruby#8:  886ms
 ruby#9:  875ms
```

main:

```
itr:   time
 ruby#1:  884ms
 ruby#2:  482ms
 ruby#3:  344ms
 ruby#4:  358ms
 ruby#5:  300ms
 ruby#6:  316ms
 ruby#7:  315ms
 ruby#8:  328ms
 ruby#9:  309ms
```
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