NAME ^

examples/benchmarks/addit.pir - Variable Argument Subroutines

SYNOPSIS ^

    % time ./parrot examples/benchmarks/addit.pir

DESCRIPTION ^

An IMC version of Joe Wilson's original PASM version of his varargs subroutines benchmark rewritten as it would be generated by a compiler using Parrot calling conventions (PDD 3). It calls an "add it" function 500000 times in a loop and prints the result (21001097.970000).

SEE ALSO ^

examples/benchmarks/addit.pl, examples/benchmarks/addit.pasm, examples/benchmarks/addit2.pir.


parrot