As web developers, we know how easy it is to end up with web page bloat. But loading a webpage...
TruffleRuby is an experimental Ruby implementation that tries to achieve ~10x performance over MRI. This has been on our radar...
A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...
Closure_tree lets your ActiveRecord models act as nodes in a tree data structure. This promises a few improvements over...
Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...
You know those helper methods that just render some HTML but look weird because of content_tags all over the...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...
When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...
You can define methods using def or define_method. In the real world, there is no performance difference.
Apparently you can pash a second scope to a hash-condition and the whole thing will be evaluated as a...
Processes in Linux might be put into Swap ("virtual memory") occasionally. Even parts of a single process might be removed...
Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...
Brendan Gregg is the Linux performance god. Use the information in this link to find out what ways there are...
Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...
You login to a Linux server with a performance issue: what do you check in the first minute? uptime
rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...
There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
There are many solutions, but a very concise one is this: hash.merge!(hash) do |key, old_value, new_value|
Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...