bind9/tests/isc
Tony Finch cd0e7f853a Simplify histogram quantiles
The `isc_histosummary_t` functions were written in the early days of
`hg64` and carried over when I brought `hg64` into BIND. They were
intended to be useful for graphing cumulative frequency distributions
and the like, but in practice whatever draws charts is better off with
a raw histogram export. Especially because of the poor performance of
the old functions.

The replacement `isc_histo_quantiles()` function is intended for
providing a few quantile values in BIND's stats channel, when the user
does not want the full histogram. Unlike the old functions, the caller
provides all the query fractions up-front, so that the values can be
found in a single scan instead of a scan per value. The scan is from
larger values to smaller, since larger quantiles are usually more
interesting, so the scan can bail out early.
2023-04-03 12:08:05 +01:00
..
testdata/file Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
aes_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ascii_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
async_test.c isc_async_run() runs events in reverse order 2022-10-31 05:43:45 -07:00
buffer_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
counter_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
crc64_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
dnsstream_utils_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
dnsstream_utils_test_data.h Add a set of unit tests for dnsbuffer_t and dnsstream_assembler_t 2022-12-20 21:24:45 +02:00
doh_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
errno_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
file_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hash_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
hashmap_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
heap_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
histo_test.c Simplify histogram quantiles 2023-04-03 12:08:05 +01:00
hmac_test.c Disable failing MD5 unit tests in FIPS mode 2023-04-03 12:05:29 +10:00
ht_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
job_test.c Refactor isc_job_run to not-make any allocations 2023-03-30 16:00:52 +02:00
lex_test.c Change the return type of isc_lex_create() to void 2022-10-26 12:55:06 +02:00
loop_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
Makefile.am Add isc_histo for histogram statistics 2023-04-03 12:08:05 +01:00
md_test.c Disable failing MD5 unit tests in FIPS mode 2023-04-03 12:05:29 +10:00
mem_test.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
netaddr_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
netmgr_common.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
netmgr_common.h Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
parse_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
quota_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
radix_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
random_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
ratelimiter_test.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
regex_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
result_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
safe_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
siphash_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
sockaddr_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
stats_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
symtab_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
tcp_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
tcpdns_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
time_test.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
timer_test.c Refactor isc_time_now() to return time, and not result 2023-03-31 15:02:06 +02:00
tls_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
tlsdns_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
udp_test.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
uv_wrap.h Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
work_test.c New event loop handling API 2022-08-25 12:24:29 +02:00