1. 19 Jan, 2015 6 commits
    • Milian Wolff's avatar
      6cce95e7
    • Milian Wolff's avatar
      Share common code. · 99722cba
      Milian Wolff authored
      Also optimize the assignment of the large list of compiler defines,
      which previously triggered many reallocations.
      99722cba
    • Milian Wolff's avatar
      Intern MakeFileResolver defines and include paths. · 56e3bf1e
      Milian Wolff authored
      This decreases the memory consumption for the defines/include paths
      as queried by the CMake JSON import job considerably. And, since
      we can now reuse existing Path instances, we don't need the costly
      conversion most of the time, leading to a considerable performance
      win as well.
      
      Before, my kdevelop session took ca. ~230MB of memory, now this
      number is down to ~153MB. Performance wise, I saw the kdevplatform
      JSON file speed up from ~2.2s evaluation down to ~1.4s.
      56e3bf1e
    • Milian Wolff's avatar
      f · d09760fd
      Milian Wolff authored
      d09760fd
    • Milian Wolff's avatar
      Use shared QStringLiteral results. · 47c0dc10
      Milian Wolff authored
      47c0dc10
    • Milian Wolff's avatar
      Cache defines/includes on-demand. · decd4cc1
      Milian Wolff authored
      This improves startup speed as we can load the defines/includes
      plugin much quicker now. Furthermore, we only initialize the
      includes/defines for the compiler(s) that are actually used,
      not all available ones, thus decreasing memory consumption.
      
      Before:
      Successfully loaded plugin "KDevDefinesAndIncludesManager" from
      ...kdevplatform/21/kdevdefinesandincludesmanager.so" - took: 200 ms
      
      After:
      Successfully loaded plugin "KDevDefinesAndIncludesManager" from
      ...kdevplatform/21/kdevdefinesandincludesmanager.so" - took: 20 ms
      
      REVIEW: 122145
      decd4cc1
  2. 18 Jan, 2015 1 commit
  3. 13 Jan, 2015 1 commit
    • Sergey Kalinichev's avatar
      Add project to CompilerProvider when includes/defines asked for. · d306b26e
      Sergey Kalinichev authored
      Oterwise, because of projectAboutToBeOpened signal isn't emitted for
      some reasons, we could end up in situation when project is not yet added
      to the CompilerProvider, but the BackgroundParser already began parsing
      the project.
      
      This should hopefully fix the annoying assert for good.
      
      REVIEW: 121984
      d306b26e
  4. 12 Jan, 2015 1 commit
  5. 11 Jan, 2015 1 commit
  6. 09 Jan, 2015 7 commits
  7. 08 Jan, 2015 3 commits
  8. 07 Jan, 2015 6 commits
  9. 04 Jan, 2015 1 commit
  10. 02 Jan, 2015 13 commits