<commit_before>primes
======

Demo/benchmarking code that finds prime numbers in Perl 6

This project contains sample code for a series of [introspective evaluations of Perl 6,](http://sd.jtimothyking.com/2013/09/09/perl-6-and-the-price-of-elegant-code/) published at sd.JTimothyKing.com.

`primes.pl6` is a Perl6 script that finds primes up to a series of maximums, using a series of algorithms, and reports the time taken (according the wall clock) in each case.

To run the script
-----------------

```
$ cd primes
$ ./primes.pl6
```

Or feel free to run it with any P6 interpreter you want. For example:

```
$ rakudo/install-jvm/bin/perl6 primes/primes.pl6
```

The script supports a number of options to limit, expand, and tweak the benchmarking parameters. Display a usage message with:

```
$ ./primes.pl6 --help
```

This script is a hack!
----------------------<commit_msg>Change project name from 'primes' to 'perl6-benchmarks'<commit_after>perl6-benchmarks
================

Demo/benchmarking code in Perl 6

This project contains sample code for a series of [introspective evaluations of Perl 6,](http://sd.jtimothyking.com/2013/09/09/perl-6-and-the-price-of-elegant-code/) published at sd.JTimothyKing.com.

`primes.pl6` is a Perl6 script that finds primes up to a series of maximums, using a series of algorithms, and reports the time taken (according the wall clock) in each case.

To run the script
-----------------

```
$ cd perl6-benchmarks
$ ./primes.pl6
```

Or feel free to run it with any P6 interpreter you want. For example:

```
$ rakudo/install-jvm/bin/perl6 perl6-benchmarks/primes.pl6
```

The script supports a number of options to limit, expand, and tweak the benchmarking parameters. Display a usage message with:

```
$ ./primes.pl6 --help
```

This script is a hack!
----------------------
{'fraction_non_alphanumeric': 0.14684931506849316, 'fraction_numerical': 0.021917808219178082, 'mean_word_length': 3.33729216152019, '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': '2509952', 'n_tokens_mistral': 606, 'n_tokens_neox': 548, 'n_words': 218}