Toots for byroot@ruby.social account

Written by Jean Boussier on 2025-01-29 at 10:56

I wrote down my personal thoughts on whether it's worth removing Ruby's GVL and what it would take.

I wanted to talk about Ractors too, but this is already too long, so that's for another time.

https://byroot.github.io/ruby/performance/2025/01/29/so-you-want-to-remove-the-gvl.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2025-01-25 at 10:53

Before I can talk about Pitchfork, I obviously have to talk about fork.

If you ever did some system programming you likely won't learn much though.

https://byroot.github.io/ruby/performance/2025/01/25/why-does-everyone-hate-fork.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2025-01-23 at 11:49

I want to write a post about Pitchfork, but before I can get to that I need to share some thoughts.

I suspect this one may be more controversial than the optimizing JSON series 😅.

https://byroot.github.io/ruby/performance/2025/01/23/the-mythical-io-bound-rails-app.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2025-01-14 at 21:50

It is done, I finally concluded the ruby/json optimization series.

I hope you enjoyed it: https://byroot.github.io/ruby/json/2025/01/14/optimizing-ruby-json-part-7.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2025-01-12 at 20:44

Here's most of the parsing optimization covered, only one extra part and the series should be over. But I have ideas of further topics.

https://byroot.github.io/ruby/json/2025/01/12/optimizing-ruby-json-part-6.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2025-01-04 at 19:36

Part 5 is out, I'm finally done with the encoding side, so next time I can start talking about parsing:

https://byroot.github.io/ruby/json/2025/01/04/optimizing-ruby-json-part-5.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-12-29 at 19:12

I thought that by part 4 I'd be done with JSON generation and that I could start talking about the parser in part 5, but apparently not.

This one is quite dense, let me know if some parts aren't as clear.

https://byroot.github.io/ruby/json/2024/12/29/optimizing-ruby-json-part-4.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-12-27 at 12:04

I found a bit of time there and there to write part 3 over the last week, hopefully it isn't too disjointed.

https://byroot.github.io/ruby/json/2024/12/27/optimizing-ruby-json-part-3.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-12-18 at 16:16

Since the first post was well received, that motivated me to continue, let's see how long it lasts https://byroot.github.io/ruby/json/2024/12/18/optimizing-ruby-json-part-2.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-12-17 at 21:48

I got quite a lot of free time lately, so I figured I'd use it to blog a bit. Hopefully it's worth the effort?

Here's the first one, about some of the optimizations I and others made to ruby/json recently: https://byroot.github.io/ruby/json/2024/12/15/optimizing-ruby-json-part-1.html

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-11-06 at 16:10

And it's out: https://github.com/ruby/json/releases/tag/v2.8.0

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-11-06 at 12:57

This morning I though I was done optimizing the ruby/json parser, so I was doing some final cleanups before the 2.8.0 release. But nope, I found two more ~10% wins back to back...

This will never end...

https://github.com/ruby/json/pull/692

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-11-02 at 18:15

I never thought I'd have to write a binary search function after I finished school.

https://github.com/ruby/json/pull/675

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-10-30 at 10:41

Here's the post I teased last week.

TL;DR; Average latency: -5%, p99 latency -10%

https://railsatscale.com/2024-10-23-next-generation-oob-gc/

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-10-24 at 09:54

I've just released json 2.7.3 with some bug fixes and lots of performance improvements: https://github.com/ruby/json/releases/tag/v2.7.3

This is my first release after being made maintainer two weeks ago.

If you got some realistic benchmarks in which JSON.dump is significantly slower than an alternative gem, please let me know.

As long as it's not the result of the alternative doing something incorrect, I'll consider it as a bug.

=> View attached media

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-10-23 at 10:54

I'm working on a blog post about our new out of band GC. Sneak peak:

=> View attached media

=> More informations about this toot | View the thread

Written by Jean Boussier on 2024-08-31 at 18:11

@flavorjones Exceptionally, I was listening.

=> More informations about this toot | View the thread

Shared by Jean Boussier on 2024-08-27 at 06:23 (original by Peter Bhat Harkins)

=> More informations about this toot | View the thread

=> This profile without reblog | Go to byroot@ruby.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109388932545056254/reblog
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
484.043682 milliseconds
Gemini-to-HTML Time
3.186873 milliseconds

This content has been proxied by September (3851b).