From eb8996c19251182776438a41b3b49789ad7a64d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 25 Jan 2022 21:10:51 +0100 Subject: [PATCH] add benchmark file --- tests/environments/groupthm/benchmark.tex | 56 +++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/environments/groupthm/benchmark.tex diff --git a/tests/environments/groupthm/benchmark.tex b/tests/environments/groupthm/benchmark.tex new file mode 100644 index 0000000..83b655c --- /dev/null +++ b/tests/environments/groupthm/benchmark.tex @@ -0,0 +1,56 @@ +\documentclass{minimal} + +\usepackage{groupthm} +\usepackage{fancythm} +%\usepackage{tikz} + +\usepackage{l3benchmark} + +\ExplSyntaxOn + +\int_new:N \num + +\cs_generate_variant:Nn \groupthm_new_group:nn { n V } +\cs_generate_variant:Nn \groupthm_new_theorem:nnn { n V n } +\cs_generate_variant:Nn \groupthm_new_family:nnn { n V n } +\cs_generate_variant:Nn \fancythm_new_theorem:nn { n V } + +% \benchmark:n +% { +% \groupthm_new_group:nV {} { \num } +% \int_incr:N \num +% } +% + \benchmark:n + { + \groupthm_new_theorem:nVn {} { \num } \c_false_bool + \int_incr:N \num + } +% +% \benchmark:n +% { +% \groupthm_new_family:nVn {} { \num } \c_false_bool +% \int_incr:N \num +% } +% +% +% \benchmark:n +% { +% \fancythm_new_theorem:nV {} { \num } +% \int_incr:N \num +% } + +% \benchmark:n +% { +% \declaretheorem{\int_use:N \num} +% \int_incr:N \num +% } + +\ExplSyntaxOff + +\begin{document} + +foo + + +\end{document}