performance.auxiliary.speedup_utils
Author: Leonardo de Sousa Marques Affiliation: Embedded Computing Lab (ECL), Federal University of Santa Catarina (UFSC)
- Description:
This module aggregates utility functions for saving speedup data.
- save_consolidated_speedup_json(baseline_codec, output_dir, speedup_data)[source]
Saves a consolidated JSON file with speedup values for all codecs and lightfields.
- Parameters:
baseline_codec (str) – Name of the baseline codec
output_dir (Path) – Output directory for the JSON file
speedup_data (Dict) – Speedup data dictionary
- Returns:
None
- Return type:
None
- create_codec_comparison_matrices(speedup_data, plot_config)[source]
Creates comparison matrices between all codecs (per lightfield/BPP and averaged).
- Parameters:
speedup_data (Dict) – Speedup data dictionary
plot_config (Dict) – Plot configuration
- Returns:
None
- Return type:
None
- save_comparison_table(table, output_dir, base_name, plot_config)[source]
Saves a comparison table in multiple formats (latex, html, csv, txt).
- Parameters:
table (PrettyTable) – PrettyTable instance with table data
output_dir (Path) – Directory to save the output files
base_name (str) – Base filename (without extension)
plot_config (Dict) – Configuration dict containing table_formats
- Returns:
None
- Return type:
None