aboutsummaryrefslogtreecommitdiffstats
path: root/tools/profile
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-1/+1
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* code gardening: removes redundant selfsXavier Noria2016-08-081-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 projectXavier Noria2016-08-061-26/+26
|
* applies new string literal convention in toolsXavier Noria2016-08-061-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 globalschneems2015-06-011-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?` methodRafael Mendonça França2014-10-131-1/+1
|
* Document the propose of tools/profileRafael Mendonça França2014-10-131-0/+3
|
* Revert "Merge pull request #17247 from igas/fix-deprecations"Rafael Mendonça França2014-10-131-0/+133
| | | | | | | This reverts commit 997f1575f78bf6a2d12b8665a55807d51fe964df, reversing changes made to f919d5f5ea75f0e56a57643e5a0472367a98625f. See https://github.com/rails/rails/pull/17247#issuecomment-58895078
* remove unused tools/profileIgor Kapkov2014-10-131-133/+0
|
* Fail profiler fast when input is not a ruby fileBenjamin Fleischer2014-07-251-0/+12
| | | | [ci skip]
* Optionally add String extensions for ruby-prof printer optionBenjamin Fleischer2014-07-251-0/+26
| | | | [ci skip]
* Encapsulate tools/profile functionality in CodeTools::ProfilerBenjamin Fleischer2014-07-251-52/+76
| | | | | | Fix bug in path expansion of input filepath [ci skip]
* Correct tools/profile usage exampleBenjamin Fleischer2014-07-251-1/+1
| | | | [ci skip]
* Removing Gem.source_index [ci skip]Arun Agrawal2013-07-131-1/+0
|
* Remove REE GC stats since master is 1.9.3Jeremy Kemper2012-10-261-17/+5
|
* fix Example: Rename tools/profile_requires -> tools/profilerochefort2012-10-061-1/+1
|
* require "rubygems" is obsolete in Ruby 1.9.3Kornelius Kalnbach2012-05-131-1/+0
|
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-131-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 argJeremy Kemper2010-06-241-1/+3
|
* Show GC time and # of runs tooJeremy Kemper2010-06-231-1/+3
|
* Ensure require and load are private - h/t apeirosJeremy Kemper2010-04-241-0/+1
|
* Use call stack printer if availableJeremy Kemper2010-04-041-2/+8
|
* Rename tools/profile_requires -> tools/profile since we do both require and ↵Jeremy Kemper2009-05-271-0/+75
ruby-prof profiling.