Ruby Performance

Open-source Ruby projects categorized as Performance

Top 23 Ruby Performance Projects

Performance
  1. JRuby

    JRuby, an implementation of Ruby on the JVM

    Project mention: Ruby Executes JIT Code: The Hidden Mechanics Behind the Magic | news.ycombinator.com | 2025-09-13

    Are you aware of jruby?

    https://www.jruby.org/

    It is ruby running on a Java Virtual Machine. Imposes all downsides of the JVM (try to allocate more that 4GByte per object!) and provides JVMs concurrency model. Currently supports Ruby 3.1 (it claims to support 3.4, read the fine print if your specific feature is supported!)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. bootsnap

    Boot large Ruby/Rails apps faster

  4. active_record_doctor

    Identify database issues before they hit production.

  5. prosopite

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

  6. Goldiloader

    Just the right amount of Rails eager loading

  7. Rails Performance

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

    Project mention: Rails Performance VS inner_performance - a user suggested alternative | libhunt.com/r/rails_performance | 2025-06-01
  8. DatabaseConsistency

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

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. alba

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

    Project mention: Building High Performance Ruby REST APIs with Rage | dev.to | 2025-04-29

    Since our Todo items are attached to groups, and we’d like to have structured JSON responses where each item is nested within a group, we will build our serializers with Alba. Let’s update the Gemfile:

  11. solid_cache

    A database-backed ActiveSupport::Cache::Store

    Project mention: Setting Up Solid Cache on Heroku with a Single Database | dev.to | 2025-11-11

    Important: According to the Solid Cache README, when you omit database, databases, or connects_to settings, Solid Cache automatically uses the ActiveRecord::Base connection pool (your primary database).

  12. memo_wise

    The wise choice for Ruby memoization

    Project mention: Ruby 3.5 Feature: Namespace on read | news.ycombinator.com | 2025-05-12

    I see a lot of comments here asking about practical motivations for this feature. One I'll share is that in a gem I help maintain, we benchmark git branches of the gem against `main`, and we also benchmark against multiple other gems that sometimes have namespace collisions with each other. To make this work, we use a third-party gem[0] and an anonymous module trick[1] that are each a bit hacky.

    That being said, I have no particular stance on whether this feature is a good change to the language; in a decade of Ruby this is the only situation I can recall that really merited it, and the concerns articulated by byroot and others do resonate with me.

    [0] https://github.com/panorama-ed/memo_wise/blob/main/benchmark...

  13. panko_serializer

    High Performance JSON Serialization for ActiveRecord & Ruby Objects

  14. DatabaseValidations

    Database validations for ActiveRecord

  15. tenderjit

    JIT for Ruby that is written in Ruby

  16. occams-record

    The missing high-efficiency query API for ActiveRecord

  17. hanami-api

    Minimal, lightweight, fastest Ruby framework for HTTP APIs.

  18. QueryTrack

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

  19. fast_count

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

  20. app_profiler

    Collect performance profiles for your Rails application.

  21. io_monitor

    A gem that helps to detect potential memory bloats

  22. Timeasure

    Transparent method-level wrapper for profiling purposes in Ruby

  23. asset_ram

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

  24. Ruby PG Extras

    Ruby PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.

  25. oj_serializers

    ⚡️ Faster JSON serialization for Ruby on Rails. Easily migrate away from Active Model Serializers.

  26. 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

Ruby Performance related posts

  • Setting Up Solid Cache on Heroku with a Single Database

    1 project | dev.to | 11 Nov 2025
  • Replacing a Cache Service with a Database

    1 project | news.ycombinator.com | 31 Aug 2025
  • Building High Performance Ruby REST APIs with Rage

    3 projects | dev.to | 29 Apr 2025
  • Optimize Database Performance in Ruby on Rails and ActiveRecord

    3 projects | dev.to | 20 Nov 2024
  • DHH – I f**king hate this

    1 project | news.ycombinator.com | 24 Sep 2024
  • A simple tool to observe PostgreSQL database locks in Rails apps

    1 project | news.ycombinator.com | 5 Sep 2024
  • Stress Testing Your Rails Application Using JMeter

    2 projects | dev.to | 7 Jun 2024
  • A note from our sponsor - Stream
    getstream.io | 22 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

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

# Project Stars
1 JRuby 3,857
2 bootsnap 2,721
3 active_record_doctor 1,901
4 prosopite 1,778
5 Goldiloader 1,658
6 Rails Performance 1,207
7 DatabaseConsistency 1,153
8 alba 1,101
9 solid_cache 982
10 memo_wise 620
11 panko_serializer 618
12 DatabaseValidations 561
13 tenderjit 425
14 occams-record 379
15 hanami-api 360
16 QueryTrack 304
17 fast_count 272
18 app_profiler 261
19 io_monitor 204
20 Timeasure 198
21 asset_ram 189
22 Ruby PG Extras 170
23 oj_serializers 160

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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