[m-rev.] fore post-commit review: improve the speed of the typechecker
Paul Bone
pbone at csse.unimelb.edu.au
Sat Jul 31 20:30:44 AEST 2010
On Fri, Jul 30, 2010 at 03:14:21PM +1000, Zoltan Somogyi wrote:
>
> The original intention of this change was to allow different predicates
> to be typechecked in parallel by removing a synchronization bottleneck:
> the typechecking of a predicate now doesn't have to wait for the typechecking
> of the previous predicate to generate an the updated version of the
> module_info. However, it turned out that the change is good for sequential
> execution as well, improving the time on tools/speedtest from 11.33 seconds
> to 11.08 seconds, a speedup of 2.2%. On tools/speedtest -l, which tests
> the compilation of more modules, the speedup is even better: 3.1%
> (from 32.63 to 31.60s).
>
I ment to ask when we spoke on Friday. Why is this a speedup? IIRC the other
day you said it slowed down performance slightly (probably within the margin of
error).
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20100731/170f00e6/attachment.sig>
More information about the reviews
mailing list