| 40 | } |
| 41 | |
| 42 | std::string ratio_str(double ms, double baseline_ms) { |
| 43 | std::ostringstream out; |
| 44 | out << std::fixed << std::setprecision(2) << (ms / baseline_ms) << "x"; |
| 45 | return out.str(); |
| 46 | } |
| 47 | |
| 48 | // Builds a plain, unformatted rows x cols table with short placeholder text, |
| 49 | // used as the common base content for every feature-cost scenario below. |
no test coverage detected