<commit_before>#!/usr/bin/env perl

use strict;
use warnings;

use YAHC;
use Time::HiRes;
use Benchmark qw(cmpthese :hireswallclock);
use Getopt::Long qw(GetOptions);
use Data::Dumper;

my $help = 0;
my $host = '127.0.0.1';
my $port = 5000;<commit_msg>benchmark: smart way of finding libs<commit_after>#!/usr/bin/env perl

use strict;
use warnings;
use Find::Lib 'lib', '../lib/';

use YAHC;
use Time::HiRes;
use Benchmark qw(cmpthese :hireswallclock);
use Getopt::Long qw(GetOptions);
use Data::Dumper;

my $help = 0;
my $host = '127.0.0.1';
my $port = 5000;
{'fraction_non_alphanumeric': 0.16636851520572452, 'fraction_numerical': 0.03935599284436494, 'mean_word_length': 5.086956521739131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5410861', 'n_tokens_mistral': 249, 'n_tokens_neox': 229, 'n_words': 64}