remove default benchmarking in groupthm

Build branch master (02c2acd) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2022-02-03 14:51:36 +00:00
parent 5a75ce39a9
commit dc50c1f3f9
2 changed files with 7 additions and 32 deletions

View file

@ -1,8 +1,8 @@
{ {
"build_time": "", "build_time": "",
"source files": { "source files": {
"version": "v2.8.2-3-g123299b", "version": "v2.9",
"commit": "123299b87ded3cb6fbc945ccfc039c2140d8c7e0", "commit": "02c2acd330be32b7f75f4145e591ac9b8fa8b389",
"dirty": false "dirty": false
}, },
"pytex": { "pytex": {
@ -421,12 +421,12 @@
{ {
"name": "environments/groupthm/groupthm.sty", "name": "environments/groupthm/groupthm.sty",
"source file": "environments/groupthm/groupthm.dtx", "source file": "environments/groupthm/groupthm.dtx",
"build time": "2022/02/03 14:45", "build time": "2022/02/03 14:51",
"source version": "v2.8.2-3-g123299b", "source version": "v2.9",
"source commit hash": "123299b87ded3cb6fbc945ccfc039c2140d8c7e0", "source commit hash": "02c2acd330be32b7f75f4145e591ac9b8fa8b389",
"pytex version": "v1.2.0-31-gc9bb0e8", "pytex version": "v1.2.0-31-gc9bb0e8",
"pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51", "pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51",
"md5sum": "0f33140e20147b63d152a6fbac866730", "md5sum": "72edca95f60949839b50cb9a5fb0b012",
"dirty": false "dirty": false
}, },
{ {

View file

@ -4,7 +4,7 @@
%% %%
%% The original source files were: %% The original source files were:
%% %%
%% groupthm.dtx (with options: `package,benchmark') %% groupthm.dtx (with options: `package')
%% %%
%% IMPORTANT NOTICE: %% IMPORTANT NOTICE:
%% %%
@ -24,7 +24,6 @@
\ProvidesExplPackage{groupthm}{2022/02/02}{0.0.2}{Grouped theorems.} \ProvidesExplPackage{groupthm}{2022/02/02}{0.0.2}{Grouped theorems.}
\RequirePackage{amsthm} \RequirePackage{amsthm}
\RequirePackage{thmtools} \RequirePackage{thmtools}
\RequirePackage{l3benchmark}
\RequirePackage{l3keys2e} \RequirePackage{l3keys2e}
\cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2 \cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2
{ {
@ -824,11 +823,6 @@
\hook_gput_code:nnn { enddocument } { groupthm } \hook_gput_code:nnn { enddocument } { groupthm }
{ {
\__groupthm_benchmark_once:nn
{
Benchmarking ~ writing ~ to ~ auxfile:
}
{
\clist_map_function:NN \g__groupthm_dump_auxfile_clist \clist_map_function:NN \g__groupthm_dump_auxfile_clist
\__groupthm_write_auxout:n \__groupthm_write_auxout:n
\__groupthm_write_auxout:n \__groupthm_write_auxout:n
@ -842,7 +836,6 @@
\clist_map_function:NN \g__groupthm_dump_cache_clist \clist_map_function:NN \g__groupthm_dump_cache_clist
\__groupthm_write_auxout:n \__groupthm_write_auxout:n
\__groupthm_write_auxout:x { \str_use:N \c_right_brace_str } \__groupthm_write_auxout:x { \str_use:N \c_right_brace_str }
}
} }
\__groupthm_dump_auxfile:x \__groupthm_dump_auxfile:x
@ -874,22 +867,10 @@
\int_compare:nNnTF \int_compare:nNnTF
\g__groupthm_cache_version_aux_int < \g__groupthm_cache_version_document_int \g__groupthm_cache_version_aux_int < \g__groupthm_cache_version_document_int
{ {
\__groupthm_benchmark_once:nn
{
Benchmarking ~ declarations ~ of ~ theorems ~ from ~ document:
}
{
\tl_use:N \g__groupthm_lazy_document_tl \tl_use:N \g__groupthm_lazy_document_tl
}
} }
{ {
\__groupthm_benchmark_once:nn
{
Benchmarking ~ declarations ~ of ~ theorems ~ from ~ aux ~ file:
}
{
\tl_use:N \g__groupthm_lazy_auxfile_tl \tl_use:N \g__groupthm_lazy_auxfile_tl
}
} }
} }
} }
@ -901,12 +882,6 @@
\groupthm_new_group:nnnnn { all } { } { } { } { } \groupthm_new_group:nnnnn { all } { } { } { } { }
\groupthm_new_group:nnnnn { starred } { } { } { } { numbered = no } \groupthm_new_group:nnnnn { starred } { } { } { } { numbered = no }
\groupthm_new_group:nnnnn { unnumbered } { } { } { } { numbered = no } \groupthm_new_group:nnnnn { unnumbered } { } { } { } { numbered = no }
\cs_new:Npn \__groupthm_benchmark_once:nn #1
{
\iow_term:n { [groupthm] ~ #1 }
\iow_log:n { [groupthm] ~ #1 }
\benchmark_once:n
}
\endinput \endinput
%% %%
%% End of file `groupthm.sty'. %% End of file `groupthm.sty'.