[latex3-commits] [git/LaTeX3-latex3-latex3] master: Make benchmark test even more lax (b830245)

Bruno Le Floch bruno at le-floch.fr
Tue May 8 23:20:27 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/b83024556e7f407d836724b19b663121823ab0d8

>---------------------------------------------------------------

commit b83024556e7f407d836724b19b663121823ab0d8
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Tue May 8 17:20:27 2018 -0400

    Make benchmark test even more lax


>---------------------------------------------------------------

b83024556e7f407d836724b19b663121823ab0d8
 l3trial/l3benchmark/testfiles/m3benchmark001.lvt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3trial/l3benchmark/testfiles/m3benchmark001.lvt b/l3trial/l3benchmark/testfiles/m3benchmark001.lvt
index 772c228..bd6e050 100644
--- a/l3trial/l3benchmark/testfiles/m3benchmark001.lvt
+++ b/l3trial/l3benchmark/testfiles/m3benchmark001.lvt
@@ -29,7 +29,7 @@
     \cs_gset_protected:Npn \benchmark_display:n { \fp_set:Nn \l_tmpa_fp }
     \benchmark_once:n { \int_incr:N \l_tmpa_int }
     \int_log:N \l_tmpa_int    % Check the code was done only once
-    \fp_compare:nTF { \l_tmpa_fp < 2e-5 }  % Check it took 0 or 1 scaled seconds
+    \fp_compare:nTF { \l_tmpa_fp < 5e-5 }  % Check it took 0 to 3 scaled seconds
       { \TRUE }
       { \ERROR \fp_show:N \l_tmpa_fp }
   }





More information about the latex3-commits mailing list