https://issues.apache.org/ooo/show_bug.cgi?id=125055
--- Comment #3 from Ariel Constenla-Haile <arielch@apache.org> ---
Created attachment 83503
--> https://issues.apache.org/ooo/attachment.cgi?id=83503&action=edit
kcachegrind displaying callgrind data
Didn't have the patience to run AOO withing callgrind until the ODF spec.
finished loading, but a backtrace in the middle while the document was half
loaded gives some indications (attached is only a screenshot of KCachegrind,
because the callgrind raw data is ca. 25 MB):
callgrind_control -b
PID 16683: /home/ariel/aoo/installation/openoffice4/program/soffice.bin
/tmp/OpenDocument-v1.2-os-part1.odt
sending command status internal to pid 16683
Frame: Backtrace for Thread 1
[ 0] SwPosition::operator<(SwPosition const&) const (616228149 x)
[ 1] (anonymous
namespace)::lcl_MarkOrderingByStart(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark> const&) (236034848 x)
[ 2] void
std::__introsort_loop<__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, long, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark>
const&)>(__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >,
__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, long, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark> const&)) (247041 x)
[ 3] void
std::__introsort_loop<__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, long, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark>
const&)>(__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >,
__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, long, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark> const&)) (131775 x)
[ 4] void
std::sort<__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark>
const&)>(__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >,
__gnu_cxx::__normal_iterator<boost::shared_ptr<sw::mark::IMark>*,
std::vector<boost::shared_ptr<sw::mark::IMark>,
std::allocator<boost::shared_ptr<sw::mark::IMark> > > >, bool
(*)(boost::shared_ptr<sw::mark::IMark> const&,
boost::shared_ptr<sw::mark::IMark> const&)) (44892 x)
[ 5] sw::mark::MarkManager::sortSubsetMarks() (44892 x)
[ 6] sw::mark::MarkManager::sortMarks() (44892 x)
[ 7] sw::mark::MarkManager::assureSortedMarkContainers() const (44892 x)
[ 8] SwTxtNode::Update(SwIndex const&, unsigned short, bool, bool) (81761
x)
[ 9] SwTxtNode::InsertText(String const&, SwIndex const&,
IDocumentContentOperations::InsertFlags) (72494 x)
[10] SwDoc::InsertString(SwPaM const&, String const&,
IDocumentContentOperations::InsertFlags) (72440 x)
[11] SwUnoCursorHelper::DocInsertStringSplitCR(SwDoc&, SwPaM const&, String
const&, bool) (72440 x)
[12]
SwXText::insertString(com::sun::star::uno::Reference<com::sun::star::text::XTextRange>
const&, rtl::OUString const&, unsigned char) (72446 x)
[13] non-virtual thunk to
SwXText::insertString(com::sun::star::uno::Reference<com::sun::star::text::XTextRange>
const&, rtl::OUString const&, unsigned char) (69594 x)
[14] XMLTextImportHelper::InsertString(rtl::OUString const&, unsigned
char&) (30043 x)
[15] XMLParaContext::Characters(rtl::OUString const&) (30043 x)
[16] SvXMLImport::characters(rtl::OUString const&) (80618 x)
[17] non-virtual thunk to SvXMLImport::characters(rtl::OUString const&)
(80618 x)
[18] sax_expatwrap::SaxExpatParser_Impl::callbackCharacters(void*, unsigned
short const*, int) (82616 x)
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
|