Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use frozen string literal in tools/ | Koichi ITO | 2017-08-13 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | fixes remaining RuboCop issues [Vipul A M, Xavier Noria] | Xavier Noria | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | code gardening: removes redundant selfs | Xavier Noria | 2016-08-08 | 1 | -1/+1 |
| | | | | | | | | | A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required. | ||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -26/+26 |
| | |||||
* | applies new string literal convention in tools | Xavier Noria | 2016-08-06 | 1 | -13/+13 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Use block variable instead of global | schneems | 2015-06-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | ```ruby require 'benchmark/ips' Benchmark.ips do |x| x.report("$&") { "foo".sub(/f/) { $&.upcase } } x.report("block var") { "foo".sub(/f/) {|match| match.upcase } } end ``` ``` Calculating ------------------------------------- $& 48.658k i/100ms block var 49.666k i/100ms ------------------------------------------------- $& 873.156k (± 9.3%) i/s - 4.331M block var 969.744k (± 9.2%) i/s - 4.818M ``` It's faster, and gets rid of a few "magic" global variables | ||||
* | Do not use deprecated `exists?` method | Rafael Mendonça França | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Document the propose of tools/profile | Rafael Mendonça França | 2014-10-13 | 1 | -0/+3 |
| | |||||
* | Revert "Merge pull request #17247 from igas/fix-deprecations" | Rafael Mendonça França | 2014-10-13 | 1 | -0/+133 |
| | | | | | | | This reverts commit 997f1575f78bf6a2d12b8665a55807d51fe964df, reversing changes made to f919d5f5ea75f0e56a57643e5a0472367a98625f. See https://github.com/rails/rails/pull/17247#issuecomment-58895078 | ||||
* | remove unused tools/profile | Igor Kapkov | 2014-10-13 | 1 | -133/+0 |
| | |||||
* | Fail profiler fast when input is not a ruby file | Benjamin Fleischer | 2014-07-25 | 1 | -0/+12 |
| | | | | [ci skip] | ||||
* | Optionally add String extensions for ruby-prof printer option | Benjamin Fleischer | 2014-07-25 | 1 | -0/+26 |
| | | | | [ci skip] | ||||
* | Encapsulate tools/profile functionality in CodeTools::Profiler | Benjamin Fleischer | 2014-07-25 | 1 | -52/+76 |
| | | | | | | Fix bug in path expansion of input filepath [ci skip] | ||||
* | Correct tools/profile usage example | Benjamin Fleischer | 2014-07-25 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Removing Gem.source_index [ci skip] | Arun Agrawal | 2013-07-13 | 1 | -1/+0 |
| | |||||
* | Remove REE GC stats since master is 1.9.3 | Jeremy Kemper | 2012-10-26 | 1 | -17/+5 |
| | |||||
* | fix Example: Rename tools/profile_requires -> tools/profile | rochefort | 2012-10-06 | 1 | -1/+1 |
| | |||||
* | require "rubygems" is obsolete in Ruby 1.9.3 | Kornelius Kalnbach | 2012-05-13 | 1 | -1/+0 |
| | |||||
* | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -1/+0 |
| | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | ||||
* | Support an extra profile printer arg | Jeremy Kemper | 2010-06-24 | 1 | -1/+3 |
| | |||||
* | Show GC time and # of runs too | Jeremy Kemper | 2010-06-23 | 1 | -1/+3 |
| | |||||
* | Ensure require and load are private - h/t apeiros | Jeremy Kemper | 2010-04-24 | 1 | -0/+1 |
| | |||||
* | Use call stack printer if available | Jeremy Kemper | 2010-04-04 | 1 | -2/+8 |
| | |||||
* | Rename tools/profile_requires -> tools/profile since we do both require and ↵ | Jeremy Kemper | 2009-05-27 | 1 | -0/+75 |
ruby-prof profiling. |