awesome-ruby-performance
A curated list of awesome Ruby Performance books, courses, trainings, conference talks, blogs and most inspiring open source contributors.
https://github.com/raventid/awesome-ruby-performance
Last synced: 8 days ago
JSON representation
-
Interesting performance talks not about Ruby
-
Memory Improvements
-
-
Conference talks
-
Blogs
-
Inspiring Open Source Contributors
-
Article series
-
Investigations
-
Memory
- Debugging hidden memory leaks in Ruby - "This article covers tools and tricks you can use to attack leaks that you can not easily introspect in Ruby. In particular I will discuss mwrap, heaptrack, iseq_collector and chap." by Sam Saffron (2019-10-15) 🇺🇸
- What causes Ruby memory to bloat - How memory allocation works in Ruby and how to improve it with malloc_trim API. 🇺🇸
- The Definitive Guide to Ruby Heap Dumps, Part I - “When you can’t reproduce memory bloat, here’s how to work with a heap dump.” by Richard Schneeman (Last updated: 2017-06-19) 🇺🇸
- The Definitive Guide to Ruby Heap Dumps, Part II - “When you can’t reproduce memory bloat, here’s how to work with a heap dump.” by Richard Schneeman (Last updated: 2017-06-19) 🇺🇸
- The Definitive Guide to Ruby Heap Dumps, Part I - “When you can’t reproduce memory bloat, here’s how to work with a heap dump.” by Richard Schneeman (Last updated: 2017-06-19) 🇺🇸
- The Definitive Guide to Ruby Heap Dumps, Part II - “When you can’t reproduce memory bloat, here’s how to work with a heap dump.” by Richard Schneeman (Last updated: 2017-06-19) 🇺🇸
-
-
Official Ruby bugtracker notes
-
Memory Improvements
- Introduce malloc_trim(0) in full gc cycles - Per Hongli's excellent article it looks like malloc_trim can help tremendously with memory bloat issues. 🇺🇸
- set M_ARENA_MAX for glibc malloc - Not everybody benefits from jemalloc and the extra download+install time is not always worth it. Lets make the user experience for glibc malloc users better, too. 🇺🇸
- Use jemalloc by default?
-
-
Performance tools
- rack-mini-profiler - Profiler for your development and production Ruby rack apps.
- Peek - Visual status bar showing Rails performance.
- fasterer - Don't make your Rubies go fast. Make them go fasterer
- speedscope - A fast, interactive web-based viewer for performance profiles. An alternative viewer for FlameGraphs. Will happily display multi-megabyte profiles without crashing your browser.
- bullet - Help to kill N+1 queries and unused eager loading.
- rbspy - Sampling profiler for any Ruby process.
- batch-loader
- benchmark-ips - Provides iteration per second benchmarking for Ruby.
- ruby-prof - A code profiler for MRI rubies.
- stackprof - a sampling call-stack profiler for ruby 2.1+
- Derailed Benchmarks - A series of things you can use to benchmark a Rails or Ruby app.
- Rbkit - profiler for Ruby. With a GUI.
-
High Performance Libraries
-
Application Insights
- oj - A fast JSON parser and Object marshaller as a Ruby gem.
- bootsnap - Boot large Ruby/Rails apps faster.
- fast_blank - Provides a C-optimized method for determining if a string is blank.
- yajl-ruby - A streaming JSON parsing and encoding library for Ruby (C bindings to yajl).
- nakayoshi_fork - solves CoW friendly problem on MRI 2.2 and later
-
-
Benchmarks
-
Application Insights
-
Programming Languages
Categories
Sub Categories
Keywords
ruby
5
gem
2
elasticsearch
1
peek
1
redis
1
flamegraph
1
flamegraphs
1
performance-profiling
1
performance-tools
1
performance-visualization
1
profile
1
speedscope
1
webgl
1
c
1
json
1
json-parser
1
marshaller
1
oj-gem
1
rails
1
ruby-json-parser
1
cpu
1
profilers
1
rust
1
computers
1
performance
1
batching
1
dataloader
1
graphql
1
graphql-ruby
1
n-plus-1
1
nplus1
1