I’m a ruby rube. Can someone tell if it is expected that the newer versions are slower? (With the exception of YJIT in the new release.)
It’s getting faster for Rails which is what almost everyone actually cares about. See chart at end of https://fastruby.io/blog/rails/ruby/performance/how-fast-is-ruby-3-on-rails.html
You can see that the differences between the versions are not that big and as u/altano writes it also depends on the applications/libraries. So though the performance got a bit worse over the versions for HexaPDF, this is not too big of a concern.