Only update peak costs on the first parse pass
authorMilian Wolff <milian.wolff@kdab.com>
Tue, 23 May 2017 14:50:03 +0000 (16:50 +0200)
committerMilian Wolff <milian.wolff@kdab.com>
Tue, 23 May 2017 14:50:46 +0000 (16:50 +0200)
commit5369ee48f244dc81c43737ed76203033c77d842d
tree5bee8b5c04e269ff02f4ada4bf2ae69e02ac722f
parentb695089353bf5f397fe681e879e6855425570b66
Only update peak costs on the first parse pass

On the second parse pass we can reuse the initial data. This
saves ~200ms of parse time in my test case, and brings the time
down to ~1.6s from 1.8s.
src/analyze/accumulatedtracedata.cpp