[m-dev.] Performance of collect

Erwan Jahier Erwan.Jahier at irisa.fr
Sat Sep 23 02:57:31 AEDT 2000


| off line, no trace info: ~4s
| mdb ./queens11 < finish: ~20s
| collect(nop, Result)   : ~200s (now) 
| collect(nop, Result)   : ~800s (before I move MR_COLLECT_filter to MR_trace_real())
| If I remove the call to filter in mercury_trace_external: 80s
|  
| If I remove the call to filter in mercury_trace_external
| *AND* I remove the save_regs/restore regs statements    : 20s
|
| So the save_regs/restore regs statements seems to cost me 40s, and the call to
| *filter_ptr() (which does nothing with nop monitor) seems to cost 120s.
                                                       Aggga...    ^^^^^^
                                                        200-20-40 = 140s .... 

So let's rather say that this call seems to cost 140s.
-- 
R1.


--------------------------------------------------------------------------
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