56 lines
915 B
TeX
56 lines
915 B
TeX
\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}
|