From 6f1ddee53b62ec12e29fa8427664fc562104ea8d Mon Sep 17 00:00:00 2001 From: Javier Cladellas Date: Tue, 1 Sep 2026 11:33:40 +0200 Subject: [PATCH 1/2] replace emojis into latex bullets --- .../benchmarking/json_report/templates/tex/macros/table.tex.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/feelpp/benchmarking/json_report/templates/tex/macros/table.tex.j2 b/src/feelpp/benchmarking/json_report/templates/tex/macros/table.tex.j2 index 61ab89348..3f44a856e 100644 --- a/src/feelpp/benchmarking/json_report/templates/tex/macros/table.tex.j2 +++ b/src/feelpp/benchmarking/json_report/templates/tex/macros/table.tex.j2 @@ -12,6 +12,8 @@ | replace('_', '\\_') | replace('~', '\\textasciitilde{}') | replace('^', '\\^{}') + | replace('🟢', '\\textcolor{green}{\\textbullet}') + | replace('🔴', '\\textcolor{red}{\\textbullet}') }} {%- endmacro %} From 47ecf8e7b195afd932a138bbe24aef64f26ebc3d Mon Sep 17 00:00:00 2001 From: Javier Cladellas Date: Tue, 1 Sep 2026 11:40:53 +0200 Subject: [PATCH 2/2] fix table tex golden file --- .../tests/data/golden/table_features.tex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/feelpp/benchmarking/json_report/tests/data/golden/table_features.tex b/src/feelpp/benchmarking/json_report/tests/data/golden/table_features.tex index b4afabf3d..ac58c9871 100644 --- a/src/feelpp/benchmarking/json_report/tests/data/golden/table_features.tex +++ b/src/feelpp/benchmarking/json_report/tests/data/golden/table_features.tex @@ -122,9 +122,9 @@ \subsection{Default file table} \hline Scenario & Time\_s & Memory\_MB & result & memory\_per\_time \\ \hline -Run A & 12 & 1024 & 🟢 & 81.92 \\ -Run B & 25 & 2048 & 🔴 & 81.59 \\ -Run C & 15 & 1536 & 🟢 & 96.60 \\ +Run A & 12 & 1024 & \textcolor{green}{\textbullet} & 81.92 \\ +Run B & 25 & 2048 & \textcolor{red}{\textbullet} & 81.59 \\ +Run C & 15 & 1536 & \textcolor{green}{\textbullet} & 96.60 \\ \hline \end{tabular}} \end{table} @@ -144,9 +144,9 @@ \subsection{Styled file table} \hline result & Scenario & memory\_per\_time \\ \hline -🟢 & Run A & 81.92 \\ -🔴 & Run B & 81.59 \\ -🟢 & Run C & 96.60 \\ +\textcolor{green}{\textbullet} & Run A & 81.92 \\ +\textcolor{red}{\textbullet} & Run B & 81.59 \\ +\textcolor{green}{\textbullet} & Run C & 96.60 \\ \hline \end{tabular}} \end{table} @@ -162,8 +162,8 @@ \subsection{Ref to file table} \hline result & Scenario & Memory\_MB \\ \hline -🔴 & 1 & 2048 \\ -🟢 & 2 & 2560 \\ +\textcolor{red}{\textbullet} & 1 & 2048 \\ +\textcolor{green}{\textbullet} & 2 & 2560 \\ \hline \end{tabular}} \end{table} @@ -227,4 +227,4 @@ \subsection{Ref to json table} -\end{document} \ No newline at end of file +\end{document}