get_process_mem
version requirements relaxed (#252)
- Support REQUEST_METHOD, REQUEST_BODY, CONTENT_TYPE, and CONTENT_LENGTH env vars (#234, #122)
- Support ruby-statistics 4.x (#238, #239, #247)
- Repair tests, support ruby-statistics in ruby < 3.0 (#241)
- Test Rails 7.1 and 7.2 (#242)
- Switch from dead_end to syntax_suggest (#243)
- require
ruby2_keywords
so drb doesn't break in ruby < 2.7 (#244) - support relative BUNDLE_GEMFILE in tests (#245)
- Support DERAILED_SKIP_RAILS_REQUIRES (#199)
- Support rails 7 for bundle exec derailed exec mem (#212)
- Update the gemspec's homepage to the current repo URL (#212)
- Fix Thor's deprecation warning by implementing
exit_on_failure?
(#195)
- Add
perf:heap_diff
tool (#193)
rack-test
dependency added (#187)
- Syntax errors easier to debug with
dead_end
gem (#182) - Minimum ruby version is now 2.5 (#183)
- Histograms are now printed side-by-side (#179)
- Derailed now tracks memory use from
load
in addition torequire
(#178) - Correct logging of unsuccessful curl requests to file (#172)
- Ruby 2.2 is now officialy supported and tested (#177)
- Add histogram support to
perf:library
(#169) - Fix bug with
Kernel#require
patch when Zeitwerk is enabled (#170)
- Added the
perf:app
command to compare commits within the same application. (#157) - Allow Rails < 7 and 1.0 <= Thor < 2 (#168)
- Test
perf:library
results against 99% confidence interval in addition to 95% (#165) - Change default,
perf:library
tests do not stop automatically any more (#164)
- Fix alignment of deicmals in output (#161)
- perf:library now uses median instead of average (#160)
- Fixed syntax error that resulted in ensure end error inside tasks.rb for older rubies (#155)
- Fix case in perf:library where the same SHA could be tested against itself (#153)
- Rake dependency now allows for Rake 13 (#151)
- Allow configuration of
perf:ips
benchmark. - Fix bug with
require_relative
#142 - Introduce
perf:library
to profile patches to libraries (like Rails) #135, #139, #140, #141
require_relative
is now measured commit- Fix bug preventing a specific Rails 6 file from being loaded (#134)
exit(1)
is called instead of raise (#127)
- Output of
test
now emits the word "derailed" for easier grepping. - Fix "already initialized constant" warning
- Allow for "warming up tasks" via WARM_COUNT env var #119
- Make all paths added to $LOAD_PATH absolute instead of relative to allow for use with apps that use bootsnap.
- Allow for use with Rack 11.
- Allow for use with Rack 11.
- Allow environment variable to skip Active Record setup.
- Allow Rack 2 to work with Derailed.
- Update docs
- Added ability to use TEST_COUNT environment variable with
perf:heap
.
- Added ability to create a heap dump
perf:heap
.
- Set custom auth user using a lambda in perf.rake
- Changed
perf:ram_over_time
changed toperf:mem_over_time
- Fixed gem warnings
bundle:mem
and similar tasks now keep track of duplicate requires and display them along side of memory requirements. This makes it easier to identify where components are used by multiple libraries- Add rake to gemspec which gets rid of
Unresolved specs during Gem::Specification.reset:
warning - Outputs of memory are now done in mebibytes, a more accurate unit for the value we're measuring (hint: it's what you think MB is).
- Added
derailed
command line utility. Can be used with just a Gemfile using command$ derailed bundle:mem
and$ derailed bundle:objects
. All existing Rake tasks can now be called with$ derailed exec
such as$ derailed exec perf:mem
. - Changed memory_profiler task to be
perf:objects
instead ofperf:mem
. - Changed boot time memory measurement to
perf:mem
instead ofperf:require_bench
- Released seperate derailed gem that is a wrapper for this gem. I.e. installing that gem installs this one. Easier to remember, less words to type. Also means there's no colision using the
derailed
namespace for executables inside of thederailed_benchmarks
.
- Initial release