← Commit list

94378899ce

Daniel Stenberg
Daniel Stenberg
2026-09-17
SUCCESS Duration: 425s

Subject

perf-tests: output two-digital decimals always

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/perf/base64dec.c+1 -1
@@ -63,7 +63,7 @@ static int test_base64dec(int argc, const char **argv)
hn = loop ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/base64enc.c+1 -1
@@ -63,7 +63,7 @@ static int test_base64enc(int argc, const char **argv)
hn = loop ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/dateparser.c+1 -1
@@ -257,7 +257,7 @@ static int test_dateparser(int argc, const char **argv)
hn = count ? us * 100000 / count : 0; /* 100 times too big */
curl_mprintf("Dates: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/date: %lld.%0lld ns\n"
+ "Time/date: %lld.%02lld ns\n"
"Dates/sec: %lld\n"
"Errors: %" CURL_FORMAT_CURL_OFF_T "\n",
count,
tests/perf/maprintf.c+1 -1
@@ -66,7 +66,7 @@ static int test_maprintf(int argc, const char **argv)
hn = loops ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/simpleformat.c+1 -1
@@ -61,7 +61,7 @@ static int test_simpleformat(int argc, const char **argv)
hn = loops ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/snprintf.c+1 -1
@@ -58,7 +58,7 @@ static int test_snprintf(int argc, const char **argv)
hn = loops ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/urldecode.c+1 -1
@@ -76,7 +76,7 @@ static int test_urldecode(int argc, const char **argv)
hn = loop ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/urlencode.c+1 -1
@@ -58,7 +58,7 @@ static int test_urlencode(int argc, const char **argv)
hn = loop ? us * 100000 / loops : 0; /* 100 times too big */
curl_mprintf("Loops: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/loop: %lld.%0lld ns\n",
+ "Time/loop: %lld.%02lld ns\n",
loops,
(long long)us,
(long long)hn / 100,
tests/perf/urlparser.c+1 -1
@@ -1172,7 +1172,7 @@ static int test_urlparser(int argc, const char **argv)
hn = count ? us * 100000 / count : 0; /* 100 times too big */
curl_mprintf("URLs: %" CURL_FORMAT_CURL_OFF_T "\n"
"Time: %lld usecs\n"
- "Time/URL: %lld.%0lld ns\n"
+ "Time/URL: %lld.%02lld ns\n"
"URLs/sec: %lld\n"
"Errors: %" CURL_FORMAT_CURL_OFF_T "\n",
count,