Ruby Performance

Open-source Ruby projects categorized as Performance

Top 18 Ruby Performance Projects

  • JRuby

    JRuby, an implementation of Ruby on the JVM

    Project mention: JRuby Released, now supporting Ruby 3.1 and Rails 7 | | 2022-11-23

    Issue tracker:

  • bootsnap

    Boot large Ruby/Rails apps faster

    Project mention: Long story short: I build a Ruby extension with Zig | | 2022-12-25

    I always had mixed feelings about writing native Ruby extensions. They surely are the way to make critical parts of the code run faster, but the developer experience around that was not great for a Ruby programmer like me. Sure, I know C. This was the second language I learned (after Pascal). I can write C, I can read C, and I even wrote some larger extensions in it, but I never felt comfortable with it.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • Goldiloader

    Just the right amount of Rails eager loading

    Project mention: Proof of Concept: auto-preloading in ActiveRecord | | 2022-10-31

    There are many gems doing this. I use this one :

  • active_record_doctor

    Identify database issues before they hit production.

    Project mention: Many of us can face issues working with ActiveRecord due to its inconsistency with the database schema. That's why I have built database_consistency, which can help you avoid the most common issues and improve your application's performance. | | 2022-12-28

    Thank you for your contribution! How would you compare this gem to

  • prosopite

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

    Project mention: Prosopite is now able to ignore low priority N+1 queries with few repetitions | | 2022-12-23

    The new option is called Prosopite.min_n_queries:

  • DatabaseConsistency

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

    Project mention: Uniqueness validation does not work since the beginning of Ruby on Rails. | | 2023-02-04

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

  • alba

    Alba is a JSON serializer for Ruby.

    Project mention: How to combine active record and active storage together in controller? | | 2022-12-22

    I personally use and it would go something like this:

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Rails Performance

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

    Project mention: My project: railstart app | | 2022-06-12


  • memo_wise

    The wise choice for Ruby memoization

    Project mention: Ruby memoization: what it is, when to use it, what the dangers are | | 2022-05-10


  • DatabaseValidations

    Database validations for ActiveRecord

    Project mention: Uniqueness validation does not work since the beginning of Ruby on Rails. | | 2023-02-04

    DatabaseValidations provides database-driven validations for ActiveRecord.

  • tenderjit

    JIT for Ruby that is written in Ruby

    Project mention: JIT Compilers for Ruby and Rails: An Overview | | 2022-09-14

    Clone the repository and run the following commands:

  • rails-mini-profiler

    Performance profiling for Rails, made simple 🦔

    Project mention: How do you find the cause of slowness in your app? | | 2022-07-26

    I'd suggest checking out - As well as checking and monitoring your log for N+1's, usually that's an applications largest performance bottleneck.

  • api

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

    Project mention: Does Roda have legs? | | 2023-01-24
  • occams-record

    The missing high-efficiency query API for ActiveRecord

    Project mention: Use PG cursors (and more!) in Rails with occams-record 1.4.0 | | 2022-09-20
  • QueryTrack

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

  • app_profiler

    Collect performance profiles for your Rails application.

    Project mention: Performance Profiling a Mongoid Issue Using AppProfiler | | 2022-09-09

    While doing research on Ruby profiling I found Shopify's blog post on "How to Fix Slow Code in Ruby". Though the entire post was extremely insightful, it lead me to Shopify's app_profiler library, which can be used to automatically profile code and redirect the output to a local instance of speedscope. Having worked previously with Flame Graphs of CPU stack traces collected using perf.

  • asset_ram

    Memoize your asset links. Saves my Rails app 17–95% allocations per request.

    Project mention: Have you used "asset_ram"? What do you think about this type of Asset caching? | | 2022-10-09
  • graphql-benchmarks

    GraphQL benchmarks using the-benchmarker framework.

  • SaaSHub

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

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). The latest post mention was on 2023-02-04.

Ruby Performance related posts


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

Project Stars
1 JRuby 3,667
2 bootsnap 2,578
3 Goldiloader 1,384
4 active_record_doctor 1,287
5 prosopite 1,025
6 DatabaseConsistency 776
7 alba 664
8 Rails Performance 607
9 memo_wise 475
10 DatabaseValidations 436
11 tenderjit 402
12 rails-mini-profiler 385
13 api 326
14 occams-record 315
15 QueryTrack 286
16 app_profiler 142
17 asset_ram 133
18 graphql-benchmarks 54
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives