On Fri, Nov 23, 2001 at 06:04:29PM +0000, Simon Cozens wrote:
>     * Rewrite mops.pasm to use integer PMCs, and compare the speeds.

I couldn't wait. :)

 % ../../test_prog mops.pbc
Iterations:    100000000
Estimated ops: 200000000
Elapsed time:  9.948440
M op/s:        20.103654

 % ../../test_prog mops_p.pbc
Iterations:    100000000
Estimated ops: 200000000
done
Elapsed time:  20.994231
M op/s:        9.526427

Not as bad a slow-down as I expected. And that's *all* PMCs. A
slightly more sensible loop, saving one PMC lookup gives you:

 % ../../test_prog mops_p.pbc
Iterations:    100000000
Estimated ops: 200000000
done
Elapsed time:  18.681786
M op/s:        10.705615


-- 
Can you sum up plan 9 in layman's terms?
It does everything Unix does only less reliably - kt

Reply via email to