---
title: "#385: How Fast is Ruby 2.5?"
publication: "Ruby Weekly"
issue: 385
published_at: "2018-02-08"
canonical_url: "https://rubyweekly.com/issues/385"
---

#385: How Fast is Ruby 2.5?

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/385)

Ruby WeeklyIssue 385 — February 8, 2018

Noah Gibbs[How Fast is Ruby 2.5?](http://engineering.appfolio.com/appfolio-engineering/2018/2/4/how-fast-is-ruby-250)A new benchmark on the heels of an important performance patch applied _after_ Ruby 2.5.0preview1 shows a nice gain over previous benchmarks.


John Hawthorn[Playing with Ruby's New JIT: MJIT](https://www.johnhawthorn.com/2018/02/playing-with-ruby-jit-mjit/)MJIT (which stands for MRI or Method JIT) may form a key part of [Ruby 3’s goal to be 3x faster than Ruby 2.](http://rubykaigi.org/2017/presentations/vnmakarov.html) An initial version of MJIT [has been merged](https://github.com/ruby/ruby/commit/ed935aa5be0e5e6b8d53c3e7d76a9ce395dfa18b) into a fork of the Ruby trunk, leading this author to start running some promising benchmarks.


Sam Saffron[Instrumenting Rails with Prometheus and prometheus_exporter](https://samsaffron.com/archive/2018/02/02/instrumenting-rails-with-prometheus)Or _“How we instrument Rails at Discourse and how you can, too.”_


SqreenSponsored[Security as Easy as 'Gem Install Sqreen'](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=RubyWeekly%20-%20email%20-%20Ruby%20Protection)We'll tell you when bad things happen and protect your code from intrusions, insider threat and data loss. Get started with a simple 'gem install sqreen'.

[![Sqreen\](https://copm.s3.amazonaws.com/214aa38e.png)](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=RubyWeekly%20-%20email%20-%20Ruby%20Protection)


The Ruby Toolbox[The Ruby Toolbox Is Back](https://www.ruby-toolbox.com/blog/2018-02-01/lets-push-things-forward)Thanks to funding from [Ruby Together](https://rubytogether.org/), a formerly popular site for finding and categorizing Ruby libraries and tools [is back.](https://www.ruby-toolbox.com/)


Noah Gibbs[A Quick Lesson on CRuby's 'Memory Slots'](http://engineering.appfolio.com/appfolio-engineering/2018/1/2/how-ruby-uses-memory)How does Ruby store objects in memory, work out where it stored those objects, and how can you look at what’s going on under the covers?


Thibaut Barrère[A First Naïve Look At TruffleRuby](https://github.com/oracle/truffleruby/issues/1054)A GitHub thread on getting started playing with [TruffleRuby](https://github.com/oracle/truffleruby), an alternative high performance Ruby implementation.


Julia Evans[An Update on Julia Evans' rbspy Profiler](https://jvns.ca/blog/2018/02/06/profiler-week-5/)It’s fun watching this project progress and this week brings Mac support for Julia’s nascent sampling CPU profiler for Ruby. _(Side note: We love frequent blogs about building tools - let us know if you’re doing the same.)_


Jobs

- [Ruby on Rails Developer at X-Team (Remote)](https://x-team.com/remote-ruby-on-rails-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q3-18)We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. [Join X-Team](https://x-team.com/remote-ruby-on-rails-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q3-18). X-Team
- [Ruby Developer at Econify (New York, NY)](http://www.econify.com/?utm_source=rubyweekly=email#contact)We’re currently seeking a senior Ruby developer to work on Rails applications both new and old. Come join a great team. econify
- [Looking for a Job at a Company That Prioritizes Ruby?](https://www.vettery.com/tech?utm_medium=cooper-rubyweekly&utm_campaign=ad-1767&utm_source=newsletter&utm_content=grouped&utm_term=tech)Try Vettery and we’ll connect you directly with thousands of companies looking for talented back-end devs. Vettery

In brief

- [RubyGems 2.7.5 Released](http://blog.rubygems.org/2018/02/06/2.7.5-released.html?utm_source=rubyweekly&utm_medium=email) news Hiroshi Shibata
- [Scale Continuous Delivery for Your Enterprise?](https://www.gocd.org/enterprise/?utm_campaign=enterprise_page&utm_medium=email&utm_source=cooperess_ruby&utm_content=enterprise_page&utm_term=) 
Use GoCD's enterprise features performance upgrades to manage large number of teams, agents and pipelines for your organization. GoCDSponsored
- [Ruby 2.5’s New Integer.sqrt Method](https://medium.com/@atul9/using-ruby-2-5s-new-integer-sqrt-cd9cb5955e12?utm_source=rubyweekly&utm_medium=email) tutorial 
We already have `Math.sqrt` but this new version is [more accurate.](https://bugs.ruby-lang.org/issues/13219) Atul Bhosale
- [Embedding Go into Ruby Applications](https://blog.magrathealabs.com/embedding-golang-into-a-ruby-application-7c2bf63e93cf?utm_source=rubyweekly&utm_medium=email) tutorial 
_Psst.. we have a [weekly Go newsletter](https://golangweekly.com/) too._ Magrathea Labs
- [Using GraphQL: A Rails-Oriented Introduction](https://medium.com/@UnicornAgency/you-should-be-using-graphql-a-ruby-introduction-9b1de3b001dd?utm_source=rubyweekly&utm_medium=email) tutorial Unicorn Agency
- [Conditional Unique Indexes in Rails with Postgres](http://nts.strzibny.name/conditional-unique-indexes-in-rails-and-postgresql/?utm_source=rubyweekly&utm_medium=email) tutorial Josef Strzibny
- [A Docker Dev Config for Ruby on Rails](https://dogsnog.blog/2018/02/02/setting-up-a-docker-development-environment-for-ruby-on-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Robb Shecter
- [Ruby 2.5's Hash#slice Method](https://blog.bigbinary.com/2018/02/06/ruby-2-5-added-hash-slice-method.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Drip-feeding more knowledge about new Ruby 2.5 features. Amit Choudhary
- [Tips for Upgrading a Rails App from 4.1 to 4.2](https://www.ombulabs.com/blog/rails/upgrades/upgrade-rails-from-4-1-to-4-2.html?utm_source=rubyweekly&utm_medium=email) tutorial Mauro Otonelli
- [How We Reduced Our CI Build Time More Than 8x with Semaphore Boosters](https://semaphoreci.com/blog/2018/02/07/how-par8o-sped-up-rails-ci-builds-8x-with-semaphore-boosters.html?utm_source=rubyweekly&utm_medium=email&utm_campaign=rubyweekly-boosters-20180208) story SemaphoreSponsored
- [What Koichi Sasada's Been Doing at Cookpad in 2017](https://sourcediving.com/koichi-sasada-1st-year-at-cookpad-q-a-6cf8b2401ec2?utm_source=rubyweekly&utm_medium=email) story 
Cookpad pays one of the longest standing Ruby core committers to keep working full-time on MRI. Miles Woodroffe
- [Refinement Types for Ruby [PDF\]](https://nikivazou.github.io/static/VMCAI18/paper.pdf?utm_source=rubyweekly&utm_medium=email) story 
An academic paper analyzing the addition of refinement types to Ruby. Kazerounian, Vazou, Bourgerie, et al
- ['You Should Not Implement #to_a for Your Classes'](http://zverok.github.io/blog/2018-02-02-to_a.html?utm_source=rubyweekly&utm_medium=email) opinion Victor Shepelev
- [Rubrowser: A Graph-Based Visualizer for Ruby Code](https://github.com/emad-elsaid/rubrowser?utm_source=rubyweekly&utm_medium=email) tools Emad Elsaid
- [fastlane.ci: An Open Source, Self-Hosted CI System](https://github.com/fastlane/ci?utm_source=rubyweekly&utm_medium=email) tools fastlane
- [How Automation Can Help with Updating Your Dependencies](https://depfu.com/l/automated-dependency-updates?utm_source=rubyweekly&utm_campaign=brief&utm_content=automated) tools DepfuSponsored
- [Sequel 5.5.0 Released](https://groups.google.com/d/msg/sequel-talk/mx3gbdwSGJo/YTpU-s1_BQAJ?utm_source=rubyweekly&utm_medium=email) code Jeremy Evans
- [TrafficJam: A Library for Time-Based Rate Limiting](https://github.com/coinbase/traffic_jam?utm_source=rubyweekly&utm_medium=email) code Coinbase
- [pg_query: Parse SQL Queries using Postgres's SQL Parser](https://github.com/lfittl/pg_query?utm_source=rubyweekly&utm_medium=email) code Lukas Fittl
- [Swot: Identify Email Addresses or Domains Names That Belong to Universities](https://github.com/leereilly/swot?utm_source=rubyweekly&utm_medium=email) code Lee Reilly

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Stop getting Ruby Weekly](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/385)

© Cooperpress Ltd, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
