Revision 6c55a47...

Go back to digest for 25th March 2012

Optimization in Development Tools

Milian Wolff committed changes in [kdevplatform] /backgroundparser/tests:

add benchmark for background parser

it's pretty slow, 1000 documents takes ~2s even with our dummy language
thats used in the unit tests

one thing thats pretty slow is the iteration over the url sets in m_documentsForPriority.
I've toyed around with it but even replacing it with a QVector wasn't faster (and
made the code much more complicated due to manual set-logics...)

has anyone some ideas on how we could improve this situation?

File Changes

Modified 2 files
  • /backgroundparser/tests
  •   language/test_backgroundparser.cpp
  •   language/test_backgroundparser.h
2 files changed in total