• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RubyMoney / money
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: thousands_separator_true
DEFAULT BRANCH: master
Repo Added 24 Dec 2013 09:39PM UTC
Files 38
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH performance-improvements
branch: performance-improvements
CHANGE BRANCH
x
Reset
  • performance-improvements
  • 6-x
  • 6.1.0
  • HEAD
  • add-rubocop
  • allow-fail-rbx
  • constructors
  • currency-refactor
  • currency_enumerable
  • currency_unregister
  • docs
  • drop-deprecated-rules
  • falcon_edition
  • fix-coerce
  • fix-format-bug
  • fix-rbx
  • fix/830
  • gw-bigdecimal
  • htanata/fix-default-locale-backend-comment
  • i18n-fix
  • initialize
  • leoarnold/hundredth_parts
  • localize-format
  • master
  • mention-mit-in-license
  • method_redefined_warnings
  • missing-attribute-error
  • optional-mutex
  • parentheses
  • patch-1
  • readme-activerecord-exchage-rate
  • refactor-format
  • register
  • reorder-round-method-arguments
  • revert-476-parentheses
  • revert-578-feature/formatting-methods
  • ruby-2-4-0
  • semmons99-patch-1
  • specs
  • symbol_position
  • thread-safety
  • thread_safe_memory_store_transaction
  • tmp
  • to_refactoring_case_statement
  • travis-jruby
  • update-travis-rubies
  • v6-x
  • v6.0.1
  • v6.0.1.beta2
  • v6.0.1.beta3
  • v6.0.1.beta4
  • v6.1.0
  • v6.1.0.beta1
  • v6.1.1
  • v6.10.0
  • v6.10.1
  • v6.11.0
  • v6.11.1
  • v6.11.2
  • v6.11.3
  • v6.12.0
  • v6.13.0
  • v6.13.1
  • v6.13.2
  • v6.13.3
  • v6.13.4
  • v6.13.5
  • v6.13.6
  • v6.13.7
  • v6.13.8
  • v6.2.0
  • v6.2.1
  • v6.3.0
  • v6.4.0
  • v6.5.0
  • v6.5.1
  • v6.6.0
  • v6.6.1
  • v6.7.0
  • v6.7.1
  • v6.8.0
  • v6.8.1
  • v6.8.2
  • v6.8.3
  • v6.8.4
  • v6.9.0
  • v6_8_3
  • v6_8_4
  • v7
  • v7.0.0.rc1
  • v7_new

pending completion
8

push

travis-ci

mjc
Performance improvements, particularly for JRuby

This patch is 1.99x faster on MRI, 1.85x faster on RBX, and 41.4x on JRuby.

This makes JRuby 2.6x faster than MRI when the JVM is warm.

Further gains could be had from switching to strings from symbols or at least reducing the number of .to_s and .to_sym calls.

31 of 31 new or added lines in 3 files covered. (100.0%)

1918 of 1924 relevant lines covered (99.69%)

128.77 hits per line

Relevant lines Covered
Build:
Build:
1924 RELEVANT LINES 1918 COVERED LINES
128.77 HITS PER LINE
Source Files on performance-improvements
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8 performance-improvements Performance improvements, particularly for JRuby This patch is 1.99x faster on MRI, 1.85x faster on RBX, and 41.4x on JRuby. This makes JRuby 2.6x faster than MRI when the JVM is warm. Further gains could be had from switching to strings from s... push 23 May 2014 01:05AM UTC mjc travis-ci pending completion  
7 performance-improvements Remove final NoMethodErrors and convert an or to not and for short circuit push 23 May 2014 12:54AM UTC mjc travis-ci pending completion  
6 performance-improvements add to changelog and authors file push 23 May 2014 12:02AM UTC mjc travis-ci pending completion  
5 performance-improvements Explicit nil check, return nil instead of object reduces time spent in Money::Currency from 17.8% to 16.9% push 22 May 2014 11:22PM UTC mjc travis-ci pending completion  
4 performance-improvements Avoid exceptions in Money#initialize This reduces time spent in Money from 17.5% to 6.2% push 22 May 2014 11:10PM UTC mjc travis-ci pending completion  
3 performance-improvements unroll each_pair loop for setting attributes This reduces overall time spent in Money::Currency during .to_money from 28.4% to 12.4% push 22 May 2014 10:51PM UTC mjc travis-ci pending completion  
2 performance-improvements Use strings for all keys The number of to_s and to_sym conversions was causing quite a bit of a drag on performance, reduces total time spent in Money::Currency for .to_money from 28% to 15% push 22 May 2014 10:25PM UTC mjc travis-ci pending completion  
1 performance-improvements Using a Set instead of an array speeds up calling .include? This patch reduces the CPU time spent in Money::Currency from 37.6% when calling .to_money to 28.0% push 22 May 2014 09:59PM UTC mjc travis-ci pending completion  
See All Builds (1316)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc