<commit_before>#include "facil.h"
#include "fio_ary.h"
#include "fio_base64.h"
#include "fio_hashmap.h"
#include "fio_mem.h"
#include "fio_random.h"
#include "fio_sha1.h"
#include "fio_sha2.h"
#include "http.h"

int main(void) {
#if DEBUG
#if HAVE_OPENSSL && !NODEBUG
  fprintf(stderr, "\n=== WARNING: performance tests should be ignored,\n"
                  "===          facil.io's optimized code "
                  "is faster\n");
#endif
  fio_base64_test();
  fio_sha1_test();
  fio_sha2_test();
  fio_random_test();
#if HAVE_OPENSSL && !NODEBUG
  fprintf(stderr, "=== WARNING: performance tests should be ignored,\n"
                  "===          facil.io's optimized code "
                  "is faster\n\n");
#endif
  fio_malloc_test();
  fio_ary_test();
  fio_hash_test();
  fiobj_test();
  defer_test();
  sock_libtest();
  http_tests();
#else
  fprintf(stderr, "DEBUG must be set to access tests.\n");
  exit(-1);
#endif
  return 0;
}<commit_msg>fio_sha might be faster, but my OpenSSL version is now older<commit_after>#include "facil.h"
#include "fio_ary.h"
#include "fio_base64.h"
#include "fio_hashmap.h"
#include "fio_mem.h"
#include "fio_random.h"
#include "fio_sha1.h"
#include "fio_sha2.h"
#include "http.h"

int main(void) {
#if DEBUG
#if HAVE_OPENSSL && !NODEBUG
  fprintf(stderr, "\n=== NOTICE: performance tests should be ignored,\n"
                  "===          facil.io's is running in DEBUG mode while "
                  "OpenSSL isn't.\n");
#endif
  fio_base64_test();
  fio_sha1_test();
  fio_sha2_test();
  fio_random_test();
#if HAVE_OPENSSL && !NODEBUG
  fprintf(stderr, "=== NOTICE: performance tests should be ignored,\n"
                  "===          facil.io's is running in DEBUG mode while "
                  "OpenSSL isn't.\n\n");
#endif
  fio_malloc_test();
  fio_ary_test();
  fio_hash_test();
  fiobj_test();
  defer_test();
  sock_libtest();
  http_tests();
#else
  fprintf(stderr, "DEBUG must be set to access tests.\n");
  exit(-1);
#endif
  return 0;
}
{'fraction_non_alphanumeric': 0.14997508719481814, 'fraction_numerical': 0.009965122072745391, 'mean_word_length': 3.1746361746361744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3253724', 'n_tokens_mistral': 758, 'n_tokens_neox': 742, 'n_words': 176}