[PATCH v2 1/5] benchtests: Add IPv4 inet_ntop benchmark

Collin Funk collin.funk1@gmail.com
Thu Jun 5 02:14:34 GMT 2025


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:

> Random IP addresses in the full range.
> ---
>  benchtests/Makefile                |    6 +
>  benchtests/inet_ntop_ipv4-inputs   | 1003 ++++++++++++++++++++++++++++
>  benchtests/inet_ntop_ipv4-source.c |   10 +
>  3 files changed, 1019 insertions(+)
>  create mode 100644 benchtests/inet_ntop_ipv4-inputs
>  create mode 100644 benchtests/inet_ntop_ipv4-source.c

Thanks, now 'make BENCHSET=bench-resolv bench' works. So:

Reviewed-by: Collin Funk <collin.funk1@gmail.com>

For patches 1-2/5.

I will let the others check 3-4/5 since they caught things that I
missed.

Collin


More information about the Libc-alpha mailing list