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}