├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin └── ruby-memory-profiler ├── lib ├── memory_profiler.rb └── memory_profiler │ ├── autorun.rb │ ├── cli.rb │ ├── helpers.rb │ ├── monochrome.rb │ ├── polychrome.rb │ ├── reporter.rb │ ├── results.rb │ ├── stat.rb │ ├── stat_hash.rb │ ├── top_n.rb │ └── version.rb ├── memory_profiler.gemspec └── test ├── fixtures ├── gems │ └── longhorn-0.1.0 │ │ ├── lib │ │ └── longhorn.rb │ │ └── longhorn.gemspec └── script.rb ├── test_cli.rb ├── test_helper.rb ├── test_helpers.rb ├── test_reporter.rb ├── test_reporter_private_start_stop.rb ├── test_reporter_public_start_stop.rb ├── test_results.rb └── test_top_n.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/ruby-memory-profiler: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/bin/ruby-memory-profiler -------------------------------------------------------------------------------- /lib/memory_profiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler.rb -------------------------------------------------------------------------------- /lib/memory_profiler/autorun.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/autorun.rb -------------------------------------------------------------------------------- /lib/memory_profiler/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/cli.rb -------------------------------------------------------------------------------- /lib/memory_profiler/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/helpers.rb -------------------------------------------------------------------------------- /lib/memory_profiler/monochrome.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/monochrome.rb -------------------------------------------------------------------------------- /lib/memory_profiler/polychrome.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/polychrome.rb -------------------------------------------------------------------------------- /lib/memory_profiler/reporter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/reporter.rb -------------------------------------------------------------------------------- /lib/memory_profiler/results.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/results.rb -------------------------------------------------------------------------------- /lib/memory_profiler/stat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/stat.rb -------------------------------------------------------------------------------- /lib/memory_profiler/stat_hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/stat_hash.rb -------------------------------------------------------------------------------- /lib/memory_profiler/top_n.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/lib/memory_profiler/top_n.rb -------------------------------------------------------------------------------- /lib/memory_profiler/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module MemoryProfiler 4 | VERSION = "1.1.0" 5 | end 6 | -------------------------------------------------------------------------------- /memory_profiler.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/memory_profiler.gemspec -------------------------------------------------------------------------------- /test/fixtures/gems/longhorn-0.1.0/lib/longhorn.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/fixtures/gems/longhorn-0.1.0/lib/longhorn.rb -------------------------------------------------------------------------------- /test/fixtures/gems/longhorn-0.1.0/longhorn.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/fixtures/gems/longhorn-0.1.0/longhorn.gemspec -------------------------------------------------------------------------------- /test/fixtures/script.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/fixtures/script.rb -------------------------------------------------------------------------------- /test/test_cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_cli.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/test_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_helpers.rb -------------------------------------------------------------------------------- /test/test_reporter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_reporter.rb -------------------------------------------------------------------------------- /test/test_reporter_private_start_stop.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_reporter_private_start_stop.rb -------------------------------------------------------------------------------- /test/test_reporter_public_start_stop.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_reporter_public_start_stop.rb -------------------------------------------------------------------------------- /test/test_results.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_results.rb -------------------------------------------------------------------------------- /test/test_top_n.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SamSaffron/memory_profiler/HEAD/test/test_top_n.rb --------------------------------------------------------------------------------