ruby   383859

« earlier    

"Transform your plain text into static websites and blogs."
jekyll  ruby  webdev 
23 hours ago by j_narwhal
6 Optimization Tips for Ruby MRI -
require 'benchmark'

n = 100000 do |x|'copy') { n.times do ; h = {}; h = h.merge({1 => 2}); end }'no copy') { n.times do ; h = {}; h.merge!({1 => 2}); end }
ruby  performance  tips 
yesterday by some_hren
Benchmarking a Go AI in Ruby: CRuby vs. Rubinius vs. JRuby vs. Truffle – a year later – Journeys of a young Software Engineer
TruffleRuby is making steady and great progress, which I’m thoroughly impressed with. To be honest, I was wondering if its performance increased since the last benchmark as I was worried that implementing new Ruby features would lead to decreased performance. Seeing that it still managed a 2x performance improvement is mind boggling.

Raw speed is one thing, but if you’re familiar with TruffleRuby, one of the more noticable downsides is the big warmup time that it needs to do all of its fancy optimizations – so the peak performance you see here is only achieved after a certain time where it is much slower. Still, I’m happy to say that warmup also improved since last time! Where the old truffleruby, in my benchmarks, took about 101 seconds or 13 iterations to reach peak performance (hence the very long warmup time, to make sure every implementation is warm) the new one took around 52 seconds or 7 iterations. Still – the first of those warmup iterations took 27 seconds, so if you can’t deal with some warmup time to start with this might be a deal breaker.
ruby  benchmark 
yesterday by some_hren
Ruby library that makes it easy to create HTTP requests.
github  curl  development  cli  http  jnunemaker  httparty  ruby 
yesterday by moalex
Dependabot - Automated Dependency Updates
"Automated dependency updates

Dependabot creates pull requests to keep your Ruby, Python, JavaScript and PHP dependencies up-to-date."
ruby  php  javascript  service 
yesterday by kevinrood
@matiaskorhonen You could start with @kytrinyx 's which has an Elixir problem to solve.
programming  learning  education  code  ruby  coding  tools  development  practice 
yesterday by Athanos
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 
yesterday by moonhouse
Bindings in Ruby – Behind the Magic of Blocks
Why block can see local variables defined before him? Why can it change them? What kind of sorcery is this? I will try to answer that question in this post. We will see examples of blocks and hidden secret hero behind the magic – binding object.
ruby  programming 
yesterday by moonhouse
Record Keeper assist in accessing the records at Crystal Vibrations on Etsy-
Ruby  crystals  Akashic  from twitter_favs
yesterday by randyhilarski
Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.

Project homepage:
github-star  ruby 
yesterday by rub1

« earlier    

related tags

akashic  algorithms  api  architecture  archlinux  assembly  authentication  aws  azure  baseclass  benchmark  bitcoin  blockchain  blog  bugs  c#  c++  c  capistrano  classmethods  clean_code  cli  clojure  code  coding  coffeescript  concurrency  conference  config  cpp  cryptocurrency  crystals  css  curl  database  dec17  deploy  deployment  developer  development  devscola  devtools  docker  documentation  ebooks  ecs  education  elixir  emacs  encoding  engineer  erlang  event_sourcing  extension  f#  false  front-end  frontend  gamedeveloper  gateway  gc  gem  git  github-star  github  go  golang  haskell  howto  http  httparty  i18n  install  java  javascript  jekyll  jnunemaker  js  json  julia  language  learning  learntocode  lib  library  lisp  lua  mail  matcher  matlab  memory  metaprogramming  migration  millisecond  money  mysql  objectivec  ocaml  oop  parser  performance  perl  php  postal  postcss  practice  precision  production  profdev  programming-language-cons  programming  programming_language  project:shakushi  python  r  rack  racket  rails  rbenv  react  refactoring  reference  rspec  rss  ruby1.9  rubyonrails  rubypro  rubyweekly  rust  rvm  saas  sarcasm  scala  scheme  screencasts  server  service  software  spa  sql  swift  tdd  testing  tilt  time  tip  tips  tools  transliteration  true  tutorial  types  typescript  video  web  webdev  xml  xpath 

Copy this bookmark: