Class: Xmi::Performance::Comparator
- Inherits:
-
Object
- Object
- Xmi::Performance::Comparator
- Defined in:
- lib/xmi/performance/comparator.rb
Overview
Orchestrates the performance comparison flow: loads the Runner into Base and Current namespaces, runs both, and reports regressions.
Constant Summary collapse
- REPO_ROOT =
File.(File.join(__dir__, "..", "..", ".."))
- DEFAULT_RUN_TIME =
10- DEFAULT_THRESHOLD =
10% (more lenient for complex operations)
0.10- DEFAULT_BASE =
"main"
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
16 17 18 19 |
# File 'lib/xmi/performance/comparator.rb', line 16 def run setup_environment run_benchmarks_comparison end |