recentpopularlog in

Performance

« earlier   
6 Optimization Tips for Ruby MRI - igvita.com
require 'benchmark'

n = 100000
Benchmark.bm do |x|
x.report('copy') { n.times do ; h = {}; h = h.merge({1 => 2}); end }
x.report('no copy') { n.times do ; h = {}; h.merge!({1 => 2}); end }
end
ruby  performance  tips 
7 hours ago by some_hren
The Cost Of JavaScript – Dev Channel – Medium
As we build sites more heavily reliant on JavaScript, we sometimes pay for what we send down in ways that we can’t always easily see. In this post, I’ll cover why a little discipline can help if you…
javascript  performance 
10 hours ago by nealrichter
Malloc Can Double Multi-threaded Ruby Program Memory Usage
Memory fragmentation is difficult to measure and diagnose, but it can also sometimes be very easy to fix. Let's look at one source of memory fragmentation in multi-threaded CRuby programs: malloc's per-thread memory arenas. (3343 words/20 minutes)
ruby  memory  performance 
16 hours ago by moonhouse
Gatsby Contentful Netlify (and Algolia) | GatsbyJS
Gatsby has been getting a lot of recognition and adoption lately, and for good reason. It’s so flexible and it works well with nearly everything.
gatsby  performance 
16 hours ago by aaronmcadam

Copy this bookmark:





to read