Class: Xmi::Performance::Comparator

Inherits:
Object
  • Object
show all
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.expand_path(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

#runObject



16
17
18
19
# File 'lib/xmi/performance/comparator.rb', line 16

def run
  setup_environment
  run_benchmarks_comparison
end