robertlemmen / p6bench

Perl 6 Compiler / VM Benchmarkk
0 stars 0 forks source link

Suggested benchmark #1

Open Juerd opened 6 years ago

Juerd commented 6 years ago

In case you don't mind loading a module, https://github.com/Juerd/p6-mqtt/blob/master/t/regex.t could make a useful benchmark. It has a Perl 5 equivalent at https://github.com/Juerd/Net-MQTT-Simple/blob/master/t/regex.t and the code is unlikely to change over time.

Juerd commented 6 years ago

Or, if loading a non-core module is a deal breaker, you could simply copy/paste the filter-as-regex function instead of my &far := &MQTT::Client::filter-as-regex;.