Closed ghost closed 1 year ago
Hi, I am trying to optimize YARD a bit to speed up documentation runs on a large codebase.
The codebase is private, so I am using https://github.com/watir/watir/ as a smaller stand-in to report benchmarking numbers from https://github.com/SamSaffron/memory_profiler.
rvm
ruby-memory-profiler --no-color --retained-strings=500 --allocated-strings=500 --max=300 -o prof.log ./run-yard.rb stats
run-yard.rb
/bin/yard
stats
bundle exec rake
Getting around to these. Thanks for the contribution!
Description
Hi, I am trying to optimize YARD a bit to speed up documentation runs on a large codebase.
The codebase is private, so I am using https://github.com/watir/watir/ as a smaller stand-in to report benchmarking numbers from https://github.com/SamSaffron/memory_profiler.
Test set-up
rvm
on Linux)ruby-memory-profiler --no-color --retained-strings=500 --allocated-strings=500 --max=300 -o prof.log ./run-yard.rb stats
run-yard.rb
is a smaller version of/bin/yard
(MemoryProfiler was not able to run/bin/yard
)stats
command to avoid memory exhaustionPerformance data
Completed Tasks
bundle exec rake
locally (if code is attached to PR).