io_rewiring branch needs testing
Mark Glines
mark at glines.org
Mon Jun 8 13:42:27 UTC 2009
Patrick R. Michaud wrote:
> In the new branch the test program I ran is indeed about 4 times
> faster:
>
> trunk : 48.394s
> io_rewiring: 11.151s
>
> So, good work thus far!
>
> By way of comparison, the 0.8.0 version of Parrot (pre-I/O-refactor)
> runs the benchmark in 10.437s, which means the branch is getting
> close to what Parrot once had. It's entirely possible that the
> difference here is due to startup or other non-I/O items, too.
>
> Another comparison: Perl 5 is able to perform the equivalent
> set of operations in 4.554s. It seems to me that for
> straightforward I/O such as this Parrot really ought to be a
> bit closer to the Perl 5 speed.
Branch performance for your benchmark should be much improved by r39450.
Here are my numbers:
trunk : ./parrot x.pir 12.37s user 1.67s system 56% cpu 24.747 total
branch: ./parrot x.pir 0.42s user 0.06s system 64% cpu 0.741 total
Executive summary: We were spending all our time calling fsync() after
every call to write(), for no good reason. This also has a drastic
effect on "coretest".
Mark
More information about the parrot-dev
mailing list