24#include <plotly_plotter/figure.h>
25#include <plotly_plotter/figure_builders/box.h>
26#include <plotly_plotter/write_html.h>
37 return name_for_file_;
42 const std::vector<measurer::Measurement>& measurements,
43 const std::string& file_path) {
46 const auto& title = measurer_name.
str();
49 auto figure = plotly_plotter::figure_builders::box(data_table)
55 figure.title(title.str());
56 plotly_plotter::write_html(file_path, figure);
Definition of BoxPlot class.
Class of names of groups of benchmarks.
Class of names of measurers.
auto str() const noexcept -> const util::Utf8String &
Get the string of the name.
void write(const measurer::MeasurerName &measurer_name, const BenchmarkGroupName &group_name, const std::vector< measurer::Measurement > &measurements, const std::string &file_path) override
Write a plot.
auto name_for_file() const -> const util::Utf8String &override
Get a name for output files.
Definition of constants for labels in plots.
Declaration of create_data_table function.
Definition of MeasurerName class.
constexpr const char * time_label
Label for processing time in plots.
constexpr const char * case_name_label
Label for case names in plots.
auto create_data_table_with_all_time(const std::vector< measurer::Measurement > &measurements, const std::vector< param::ParameterName > ¶meter_names) -> plotly_plotter::data_table
Create a data table with all samples of processing time.
Namespace of utility functions and classes.
Namespace of stat_bench source codes.
Definition of ParameterName class.