Revision 11a5f32...

Go back to digest for 18th March 2012

Optimization in Development Tools

Milian Wolff committed changes in [massif-visualizer] /:

optimize: drastically reduce memory footprint by using QByteArray instead of QString

we only convert to QString on demand when we actually display a string
to the user. most often, this is just a small subset of the data
we have lying around in total.

the memory consumption gain is esp. noticeable for big data files,
where it reduces the memory consumption by ~40%

File Changes

Modified 13 files
  •   app/mainwindow.cpp
  •   massifdata/parser.cpp
  •   massifdata/parser.h
  •   massifdata/parserprivate.cpp
  •   massifdata/treeleafitem.cpp
  •   massifdata/treeleafitem.h
  •   massifdata/util.cpp
  •   massifdata/util.h
  •   test/datamodeltest.cpp
  •   visualizer/datatreemodel.cpp
  •   visualizer/detailedcostmodel.cpp
  •   visualizer/detailedcostmodel.h
  •   visualizer/dotgraphgenerator.cpp
13 files changed in total