2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 10:10:06 +00:00
Ondřej Surý e603983ec9 Stop providing branch prediction information
The __builtin_expect() can be used to provide the compiler with branch
prediction information.  The Gcc manual says[1] on the subject:

    In general, you should prefer to use actual profile feedback for
    this (-fprofile-arcs), as programmers are notoriously bad at
    predicting how their programs actually perform.

Stop using __builtin_expect() and ISC_LIKELY() and ISC_UNLIKELY() macros
to provide the branch prediction information as the performance testing
shows that named performs better when the __builtin_expect() is not
being used.

1. https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#index-_005f_005fbuiltin_005fexpect
2021-10-14 10:33:24 +02:00
..
2021-10-13 00:49:15 -07:00
2021-10-13 00:49:15 -07:00
2021-10-13 00:49:15 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-09-09 15:35:39 +02:00
2021-10-06 11:22:20 +02:00
2021-10-13 00:49:15 -07:00
2021-10-06 11:22:20 +02:00
2021-10-13 00:49:15 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-01-29 12:07:38 +01:00
2021-10-06 11:22:20 +02:00
2021-02-23 09:16:48 +01:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-07-06 05:33:48 +00:00
2021-10-06 11:22:20 +02:00
2021-10-12 13:11:13 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-13 00:49:15 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-13 00:49:15 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00
2021-10-12 13:11:13 -07:00
2021-10-13 00:49:15 -07:00
2021-10-13 09:27:46 -07:00
2021-10-06 11:22:20 +02:00
2021-10-06 11:22:20 +02:00