]> git.ipfire.org Git - thirdparty/openssl.git/commit
prevent large latency in base64_simdutf test
authorNeil Horman <nhorman@openssl.org>
Sun, 4 Jan 2026 22:42:33 +0000 (17:42 -0500)
committerPauli <paul.dale@oracle.com>
Wed, 7 Jan 2026 00:31:05 +0000 (11:31 +1100)
commitee8772e3565a84fde9e23124a76cab8e6f2b3778
tree77d5d863c0faf24fd5433ff38e46fbbd6fda764f
parent5707fd07531a4bf923a5a20b136691291e08bd57
prevent large latency in base64_simdutf test

The base64_simdutf test has a printf statement inside a double for loop
that causes a huge amount of latency when run under our perl scripts.
Average run time on my system is about 1min 58 seconds.

We shouldn't be using a printf statement there anyway (likely TEST_info
instead), but we don't need that either, so just remove the printf
entirely.  This decreases the run time to around a second to complete.

Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Paul Yang <paulyang.inf@gmail.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29542)
test/test_base64_simdutf.c