[m-dev.] another performance problem

Simon Taylor stayl at cs.mu.OZ.AU
Thu Dec 18 15:02:08 AEDT 2003


On 12-Dec-2003, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> The tests are failing on ender, on hg with --target asm,
> and on mars with lcc, due to exceeding the 5-minute CPU time limit
> when making the stage 2 dependencies.
> 
> I think this must be another performance problem in Simon's abstract
> equivalence types change.  Note that this is a newly introduced problem;
> building the stage 1 dependencies doesn't exceed the 5-minute limit.
> 
> Simon, could you please have a look at this?
> 
> gmake[1]: *** [top_level.depend] CPU time limit exceeded
> gmake[1]: Leaving directory `/home/ender/public/test_mercury/test_dirs/ender/bui
> ld.latest.gcc/mercury/stage2/compiler'
> gmake: *** [compiler/top_level.dep] Error 2
> + echo 'building of stage 2 dependencies not successful'
> building of stage 2 dependencies not successful

This appears to be due to performance problems in the relation module.
Calls to set.insert from relation.add are taking 95 seconds out of 115
on jupiter.  I'll try replacing all the sets of relation_keys with
sparse_bitsets.

Simon.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list