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 | news.ycombinator.com | 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").

    https://github.com/shoes/shoes4/

    http://www.rubydoc.info/github/shoes/shoes4

    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: https://github.com/jruby/jruby/issues/7459

  • bootsnap

    Boot large Ruby/Rails apps faster

  • Project mention: Abstract Methods and NotImplementedError in Ruby | news.ycombinator.com | 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`:

    https://github.com/Shopify/bootsnap/blob/f627992c52642394311...

    https://github.com/Shopify/bootsnap/blob/f627992c52642394311...

    https://github.com/Shopify/bootsnap/blob/f627992c52642394311...

    https://github.com/Shopify/bootsnap/blob/f627992c52642394311...

    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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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)

  • Project mention: Monitor performance of you Rails applications (self-hosted and free) | news.ycombinator.com | 2023-06-17
  • 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.

  • Project mention: Recommended Controllers Serializer Gem? | /r/rubyonrails | 2023-06-18

    alba looks promising

  • 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 🦔

  • Project mention: Enabling Hotwire/Turbo in Rails7 from upgraded repo | /r/rails | 2023-05-31
  • occams-record

    The missing high-efficiency query API for ActiveRecord

  • Project mention: ORMs are criticized for the wrong reasons | /r/ruby | 2023-06-22
  • 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

  • Project mention: Show HN: Gem for Rails cache, better performance and compression with Brotli | news.ycombinator.com | 2023-05-22
  • Timeasure

    Transparent method-level wrapper for profiling purposes in Ruby

  • app_profiler

    Collect performance profiles for your Rails application.

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

  • Ruby PG Extras

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

  • oj_serializers

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

  • 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 related posts

Index

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

Project Stars
1 JRuby 3,746
2 bootsnap 2,639
3 active_record_doctor 1,626
4 Goldiloader 1,539
5 prosopite 1,431
6 DatabaseConsistency 981
7 Rails Performance 911
8 alba 859
9 memo_wise 539
10 panko_serializer 536
11 DatabaseValidations 500
12 tenderjit 417
13 rails-mini-profiler 403
14 occams-record 355
15 api 342
16 QueryTrack 290
17 rails-brotli-cache 252
18 Timeasure 196
19 app_profiler 192
20 io_monitor 187
21 asset_ram 177
22 Ruby PG Extras 123
23 oj_serializers 99

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com