NAME

examples/benchmarks/addit2.pir - Variable Argument Subroutines

SYNOPSIS

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

DESCRIPTION

An optimized 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/addit.pir.