5291 RTF import slow

From: Robert Wilhelm (robert.wilhelm@gmx.net)
Date: Tue Sep 23 2003 - 16:09:59 EDT

  • Next message: Jeremy Katz: "[PATCH] Display clipart on GNOME build"

    I have further analysed why we are so slow at importing
    rtf with large tables.

    A profile of 5291 (import of RTF_spec_1_5.rtf) shows
    quadratic behavior in pp_TableAttrProp:findMatch.
    About 50% of whole import time is still spent in strcasecmp.

    Function Calls

    pt_VarSet:mergeAP/storeAP 7216/14736
    pt_VarSet:addIfUniqueAP 21953
    pp_TableAttrProp:findMatch 27024
    PP_AttrProp:isExactMatch 17531055
    UT_xml_stricmp 42491428
    strcasecmp 47109785

    Robert



    This archive was generated by hypermail 2.1.4 : Tue Sep 23 2003 - 16:31:17 EDT