The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

examples/benchmarks/mops.c - Calculate M ops/s

SYNOPSIS

    % perl examples/benchmarks/mops.pl

DESCRIPTION

A Perl implementation of the examples/benchmarks/mops.pasm example program, for speed comparisons.

Calculates a value for M ops/s (million operations per second) using integer arithmetic.

Prints out:

  • the number of look iterations,

  • the estimated number of ops performed,

  • the elapsed time, and

  • the number of M op/s.

SEE ALSO

examples/benchmarks/mops.pasm, examples/mops/mops.c, examples/mops/mops.cs, examples/mops/mops.il, examples/mops/mops.p6, examples/mops/mops.ps, examples/mops/mops.py, examples/mops/mops.rb, examples/mops/mops.scheme.