<commit_before>USING: kernel sequences sorting benchmark.random math.parser
io.files io.encodings.ascii ;
IN: benchmark.sort

: sort-benchmark ( -- )
    random-numbers-path
    ascii file-lines [ string>number ] map
    natural-sort drop ;

MAIN: sort-benchmark<commit_msg>benchmark.sort: changing to not depend on benchmark.random.<commit_after>USING: io.files io.encodings.ascii kernel math math.parser
random sequences sorting ;
IN: benchmark.sort

: sort-benchmark ( -- )
    10 300000 200 random-integers
    [ natural-sort drop ] curry times ;

MAIN: sort-benchmark
{'fraction_non_alphanumeric': 0.0979020979020979, 'fraction_numerical': 0.019230769230769232, 'mean_word_length': 3.982608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2624978', 'n_tokens_mistral': 192, 'n_tokens_neox': 170, 'n_words': 47}