GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Jeff McFadden (mcphat@ruby.social)'s status on Tuesday, 19-Sep-2023 01:11:33 JST Jeff McFadden Jeff McFadden

    We turned on yjit in production today and the results feel impossible.

    20-40% reduction in request times, with much less variability than we were seeing before.

    This is incredible.

    Between last week (Ruby 3.0) and this week (Ruby 3.2+yjit), our request times have been cut _in half_.

    In conversation Tuesday, 19-Sep-2023 01:11:33 JST from ruby.social permalink

    Attachments


    1. https://cdn.masto.host/rubysocial/media_attachments/files/111/065/481/520/323/321/original/9a449bdd43556f0a.png
    • Embed this notice
      k0kubun (k0kubun@ruby.social)'s status on Tuesday, 19-Sep-2023 01:11:21 JST k0kubun k0kubun
      in reply to
      • Joel Drapper

      @joeldrapper Did it speed up your specs as of 3.2? JIT is suitable for speeding up operations that are repeated many times like in production as you said. But tests often run each path a few times and that's it, so I normally don't expect a speedup there.

      In conversation Tuesday, 19-Sep-2023 01:11:21 JST permalink
    • Embed this notice
      Joel Drapper (joeldrapper@ruby.social)'s status on Tuesday, 19-Sep-2023 01:11:22 JST Joel Drapper Joel Drapper
      in reply to
      • Travis Bell

      @travisbell @mcphat I was trying 3.3 today and it doesn’t seem to have made any difference to the time it takes to run our specs, when compared to 3.2. I’m sure we’d see improvements in production though.

      In conversation Tuesday, 19-Sep-2023 01:11:22 JST permalink
    • Embed this notice
      Travis Bell (travisbell@mastodon.social)'s status on Tuesday, 19-Sep-2023 01:11:26 JST Travis Bell Travis Bell
      in reply to
      • Joel Drapper

      @mcphat @joeldrapper I know right? It’s like pure magic. We saw a similar request time drop when we enabled it, ~30% or so.

      Can’t wait for the improvements in 3.3, it’s looking like we’re getting another solid bump in performance.

      In conversation Tuesday, 19-Sep-2023 01:11:26 JST permalink
    • Embed this notice
      Joel Drapper (joeldrapper@ruby.social)'s status on Tuesday, 19-Sep-2023 01:39:44 JST Joel Drapper Joel Drapper
      in reply to
      • k0kubun

      @k0kubun 3.2 with YJIT had made them faster in the past, but now it seems to make them slower. 🙃

      It makes sense because our tests repeat themselves a lot less now.

      In conversation Tuesday, 19-Sep-2023 01:39:44 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.