Ruby Performance

Open-source Ruby projects categorized as Performance

Top 23 Ruby Performance Projects

  • JRuby

    JRuby, an implementation of Ruby on the JVM

    Project mention: Shoes makes building little graphical programs for Mac, Windows, Linux simple | | 2024-02-23

    As someone who has looked at Shoes several times but never dove in, it's confusing how Shoes 4 has been the "preview version" of Shoes for, like, a decade or more. It made me actively avoid getting invested in Shoes 3 (the release promoted on the linked website) because Shoes 4 requires JRuby and I am happy with CRuby (the Ruby interpreter most people think of when they hear "Ruby").

    No disrespect to the developers but to me it feels like taking over a GUI toolkit created "to teach programming to everyone" (to quote the Shoes 4 readme) and making it depend upon a super-complicated enterprise-focused Ruby was sort of Missing The Point™ in a huge way.

    Heck I couldn't even switch to JRuby if I wanted to because I <3 Ractors and JRuby still lacks CRuby 3.0 feature parity:

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • bootsnap

    Boot large Ruby/Rails apps faster

    Project mention: Abstract Methods and NotImplementedError in Ruby | | 2024-04-12

    Indeed, I did not mention Bootsnap so as to detract the core point.

    > That's one of the things Bootsnap does to speedup boot time. And when you do that, there's no compilation at runtime.

    Correct, if one does `bootsnap precompile`.

    Bootsnap hooks itself on `Kernel#load` + `Kernel#require` and `RubyVM::InstructionSequence#load_iseq`:

    Essentially this means that it makes LOAD_PATH lookup faster + intercepts iseq compilation to store to cache on a miss and return a cached version on a hit.

    That does not change the load order.

    > But that doesn't change anything about OP's suggestion, it's still impossible to know if an interface will ever be implemented.

    Again correct, as even with `bootsnap precompile` it would only result in earlier ISeq generation (it is essentially cache priming instead of doing it "lazily" on demand), not the time at which these ISeq get loaded and effective, so even then an `abstract` keyword would be ineffective.

  • active_record_doctor

    Identify database issues before they hit production.

  • Goldiloader

    Just the right amount of Rails eager loading

  • prosopite

    :mag: Rails N+1 queries auto-detection with zero false positives / false negatives

  • DatabaseConsistency

    The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.

  • Rails Performance

    Monitor performance of you Rails applications (self-hosted and free)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • alba

    Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.

  • solid_cache

    A database-backed ActiveSupport::Cache::Store

    Project mention: Redis license change, and Rails Solid Cache | | 2024-05-13

    View on GitHub

  • memo_wise

    The wise choice for Ruby memoization

  • panko_serializer

    High Performance JSON Serialization for ActiveRecord & Ruby Objects

  • DatabaseValidations

    Database validations for ActiveRecord

  • tenderjit

    JIT for Ruby that is written in Ruby

  • rails-mini-profiler

    Performance profiling for Rails, made simple 🦔

  • occams-record

    The missing high-efficiency query API for ActiveRecord

  • api

    Minimal, lightweight, fastest Ruby framework for HTTP APIs. (by hanami)

  • QueryTrack

    Find time-consuming database queries for ActiveRecord-based Rails Apps

  • rails-brotli-cache

    Drop-in enhancement for Rails cache, offering better performance and compression with Brotli algorithm

  • fast_count

    Quickly get a count estimation for large tables (>99% of accuracy for PostgreSQL).

    Project mention: Everyday performance rules for Ruby on Rails developers | /r/rails | 2023-12-07

    Counts can also be made blazingly fast (but estimate with > 99% accuracy) via

  • app_profiler

    Collect performance profiles for your Rails application.

  • Timeasure

    Transparent method-level wrapper for profiling purposes in Ruby

  • io_monitor

    A gem that helps to detect potential memory bloats

  • asset_ram

    Reduce Rails allocations by 35%+ and gain a speed boost. Memoizes asset links.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby Performance discussion

Log in or Post with

Ruby Performance related posts

  • Stress Testing Your Rails Application Using JMeter

    2 projects | | 7 Jun 2024
  • Abstract Methods and NotImplementedError in Ruby

    1 project | | 12 Apr 2024
  • ORMs are criticized for the wrong reasons

    1 project | /r/ruby | 22 Jun 2023
  • Enabling Hotwire/Turbo in Rails7 from upgraded repo

    2 projects | /r/rails | 31 May 2023
  • Efficient JSON Serialization with Blueprinter for Ruby on Rails

    1 project | /r/ruby | 29 May 2023
  • Show HN: Gem for Rails cache, better performance and compression with Brotli

    1 project | | 22 May 2023
  • Love oss and ruby in particular? Suggest maintainers for our substack!

    1 project | /r/ruby | 7 Apr 2023
  • A note from our sponsor - SaaSHub | 24 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →


What are some of the best open-source Performance projects in Ruby? This list will help you:

Project Stars
1 JRuby 3,767
2 bootsnap 2,652
3 active_record_doctor 1,669
4 Goldiloader 1,561
5 prosopite 1,464
6 DatabaseConsistency 1,017
7 Rails Performance 950
8 alba 905
9 solid_cache 762
10 memo_wise 567
11 panko_serializer 565
12 DatabaseValidations 515
13 tenderjit 416
14 rails-mini-profiler 410
15 occams-record 356
16 api 344
17 QueryTrack 295
18 rails-brotli-cache 251
19 fast_count 217
20 app_profiler 210
21 Timeasure 196
22 io_monitor 187
23 asset_ram 177

Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?