Skip to content

Can the first argument be CPU-based like in perl5 please? #6

@Tux

Description

@Tux

As I test on many different systems ranging from 240 MHz to 4.2 GHz, using a count isn't quite useful, so I generally op for the negative value in perl5 which makes it CPU seconds

my %results = timethese(-1.5, { ... });

Type check failed in binding $count; expected 'Int' but got 'Rat'
in sub timethese at lib/Benchmark.pm6:21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions