Jruby

JRuby is an open-source Java implementation of the Ruby programming language

Mri

Matz's Ruby Interpreter or Ruby MRI (also called CRuby) is the reference implementation of the Ruby programming language named after Ruby creator Yukihiro Matsumoto ("Matz")

Slower opposite 2-5x

Quality Example
Faster

"And it sounds strange but jruby scales very well and it s faster than mri with java 7"

from question "Which is easier to deploy to a Windows server: a Rails app in JRuby or a Rails app in normal Ruby?"

"Does this mean that the old adagio about jruby being faster than mri ruby is gone"

from question "Performance difference between MRI Ruby and jRuby"

"For example jruby is faster than mri jruby 1.7 is faster than jruby 1.6 jruby 1.7 running on hotspot is faster than jruby 1.7 running on j9 jruby 1.7 running on hotspot 1.7 is faster than jruby 1.7 running on hotspot 1.6 jruby 1.7 running on hotspot 1.7 with the c2 compiler is faster than jruby 1.7 running on hotspot 1.7 with the c1 compiler and so on"

from question "Ruby 1.8.7 versus Ruby 1.9+ performance"

"Mri has a gil so why is it faster than jruby in handling requests"

from question "Are there still benefits to running JRuby vs. the latest MRI with Puma?"

"Jruby is faster than 1.9 mri matz ruby interpreter the standard in certain areas"

from question "Installing jruby on MacOS compared to ruby on Windows OS Box"

"Mri is faster than jruby"

from question "Are there still benefits to running JRuby vs. the latest MRI with Puma?"

Slower

"This really surprised me because i expected mri to be slower than jruby"

from question "Concurrent requests with MRI Ruby"

2-5x slower

"So it seems like the opposite - mri 2.3 gets 2-5x slower than jruby 9.1"

from question "Performance difference between MRI Ruby and jRuby"

Better application rubinius

Quality Example
Better performance

"With these options jruby on rails gives about the same or better performance than mri"

from question "JRuby Performance"

Better

"I know that rails jruby handles concurrency better than mri but i don t know how to do it"

from question "How to make Rails app asynchronous in JRuby?"

"For longer-running applications like a web application rubinius or jruby will generally perform better than mri"

from question "Which is faster: MRI Ruby or JRuby?"

Process long processes

Quality Example
Faster

"Lastly if you are frequently finding yourself running long running process i advice you to try jruby which is works much better with long running processes due to jvm lot faster than mri"

from question "Using god only to kill"

"Sometimes mri is faster but with the right parameters and warmup jruby was 3 to 3.5 times as fast on my system for this particular"

from question "Performance difference between MRI Ruby and jRuby"

Raw performant execution

Quality Example
Faster

"Jvm hosted languages are generally going to be faster than traditional mri ruby and both java and scala are generally faster than jruby when it comes to raw cpu capabilities"

from question "What's the best language for server-side backends required by iPhone apps?"

More performant

"Once the jvm has warmed up rails requests under jruby are usually significantly more performant than under mri both in terms of raw execution speed and garbage collection"

from question "JRuby Performance"

Others

Quality Example
More

"In fact on windows jruby passes more rubyspec tests than ruby meaning mri or yarv itself"

from question "Is there an advantage to running JRuby if you don't know any Java?"

More sensitive

"I ve noticed however that jruby is more sensitive to memory leaks than mri"

from question "Memory Leaks in Jruby 1.7.0.preview1"

Heavier

"The jruby runtime alone is already pretty heavy much heavier than mri"

from question "How to improve jRuby load time?"

Higher priority

"Alter your command path so that jruby s version of the ruby command has a higher priority than the mri one"

from question "JRuby load error"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0