Raxol.Bench.Dashboard (Raxol v2.6.0)

View Source

HTML dashboard generation for Raxol benchmarks.

Builds the performance dashboard HTML page with Chart.js charts and handles comparison/regression reporting.

Summary

Functions

Checks for performance regressions vs baseline and raises on failure.

Generates and writes the HTML performance dashboard.

Loads and parses a JSON file, returning the decoded map or nil.

Loads the latest benchmark results JSON file, or nil if none exist.

Prints a summary of benchmark results to the shell.

Loads and prints a comparison between the two most recent benchmark files.

Functions

check_for_regressions(results)

Checks for performance regressions vs baseline and raises on failure.

generate_enhanced_dashboard(results, timestamp)

Generates and writes the HTML performance dashboard.

load_and_parse_json_file(file_path)

Loads and parses a JSON file, returning the decoded map or nil.

load_latest_results()

Loads the latest benchmark results JSON file, or nil if none exist.

run_comparison_analysis(results, timestamp)

Loads and prints a comparison between the two most recent benchmark files.