Skip to content

Add compare-multi command for N-file comparison#6

Open
nikfot wants to merge 3 commits into
mainfrom
feature/multi-file-compare
Open

Add compare-multi command for N-file comparison#6
nikfot wants to merge 3 commits into
mainfrom
feature/multi-file-compare

Conversation

@nikfot

@nikfot nikfot commented May 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds compare-multi subcommand that accepts any number of vmstat log files (2+)
  • Overlays all files on a single chart per metric with distinct colors and line styles
  • Supports all existing metrics: cpu, memory, system_load, swap, io, all

Usage

vmstat-visualizer compare-multi baseline.log optimized.log stress.log -m cpu
vmstat-visualizer compare-multi *.log -m all -e svg

Test plan

  • CLI accepts 2+ files and rejects fewer than 2
  • Each file gets distinct color and line style
  • Start times from all files shown in footer

nikfot added 3 commits May 16, 2026 09:41
New 'compare-multi' subcommand accepts any number of vmstat log files
and overlays them on a single chart per metric. Each file gets a
distinct color and line style for visual differentiation.

Usage:
  vmstat-visualizer compare-multi f1.log f2.log f3.log -m cpu
  vmstat-visualizer compare-multi *.log -m all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant