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

View file

@ -4,7 +4,7 @@
%%
%% The original source files were:
%%
%% groupthm.dtx (with options: `package,benchmark')
%% groupthm.dtx (with options: `package')
%%
%% IMPORTANT NOTICE:
%%
@ -24,7 +24,6 @@
\ProvidesExplPackage{groupthm}{2022/02/02}{0.0.2}{Grouped theorems.}
\RequirePackage{amsthm}
\RequirePackage{thmtools}
\RequirePackage{l3benchmark}
\RequirePackage{l3keys2e}
\cs_new:Npn \__groupthm_thmtools_declare_theorem:nn #1 #2
{
@ -823,11 +822,6 @@
\cs_generate_variant:Nn \__groupthm_cache_auxfile:n { V }
\hook_gput_code:nnn { enddocument } { groupthm }
{
\__groupthm_benchmark_once:nn
{
Benchmarking ~ writing ~ to ~ auxfile:
}
{
\clist_map_function:NN \g__groupthm_dump_auxfile_clist
\__groupthm_write_auxout:n
@ -843,7 +837,6 @@
\__groupthm_write_auxout:n
\__groupthm_write_auxout:x { \str_use:N \c_right_brace_str }
}
}
\__groupthm_dump_auxfile:x
{
@ -873,26 +866,14 @@
\cs_set_eq:NN \__groupthm_lazy:n \use:n
\int_compare:nNnTF
\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
}
}
{
\__groupthm_benchmark_once:nn
{
Benchmarking ~ declarations ~ of ~ theorems ~ from ~ aux ~ file:
}
{
\tl_use:N \g__groupthm_lazy_auxfile_tl
}
}
}
}
{
\cs_set_eq:NN \__groupthm_cache:n \use_none:n
\cs_set_eq:NN \__groupthm_cache_slow:n \use_none:n
@ -901,12 +882,6 @@
\groupthm_new_group:nnnnn { all } { } { } { } { }
\groupthm_new_group:nnnnn { starred } { } { } { } { 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
%%
%% End of file `groupthm.sty'.