subsurface/profile-widget
Linus Torvalds 2d760a7bff Don't write back dive data that hasn't changed in git
This caches the git ID for the dive on load, and avoids building the
dive directory and hashing it on save as long as nothing has invalidated
the git ID cache.

That should make it much faster to write back data to the git
repository, since the dive tree structure and the divecomputer blobs in
particular are the bulk of it (due to all the sample data).  It's not
actually the git operations that are all that expensive, it's literally
generating the big blob with all the snprintf() calls for the data.

The git save used to be a fairly expensive with large data sets,
especially noticeable on mobile with much weaker CPU's.  This should
speed things up by at least a factor of two.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-04 17:27:10 -07:00
..
animationfunctions.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
animationfunctions.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Silence warnings in DiveCartesianAxis 2016-03-08 20:57:52 -08:00
divecartesianaxis.h Silence warnings in DiveCartesianAxis 2016-03-08 20:57:52 -08:00
diveeventitem.cpp QML UI: take device pixel ratio into account when scaling pixmaps on iOS 2016-03-28 17:05:29 -05:00
diveeventitem.h Prevent gaschange tank icons from using garbage coords. 2015-12-03 22:56:23 -08:00
divelineitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divelineitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divepixmapitem.cpp Silence warnings in divepixmapitem.cpp 2016-03-09 11:43:33 -08:00
divepixmapitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diveprofileitem.cpp Clean up signedness confusion in diveprofileitem.cpp 2016-03-09 21:50:26 -08:00
diveprofileitem.h Fix Ceiling Graph 2016-01-25 13:04:32 -08:00
diverectitem.cpp Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
diverectitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetextitem.cpp Profile: include Qt headers directly 2015-11-05 17:05:30 -08:00
divetextitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
divetooltipitem.cpp Silence warnings in divetooltipitem.cpp 2016-03-09 11:43:53 -08:00
divetooltipitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
profilewidget2.cpp Don't write back dive data that hasn't changed in git 2016-04-04 17:27:10 -07:00
profilewidget2.h Silence warnings in Profilewidget2 2016-03-08 20:58:09 -08:00
ruleritem.cpp Fix bug on the visibility of the Ruler Graph 2016-01-25 13:04:39 -08:00
ruleritem.h Fix bug on the visibility of the Ruler Graph 2016-01-25 13:04:39 -08:00
tankitem.cpp Undo two more unsigned changes that are no longer needed 2016-03-23 10:11:39 -07:00
tankitem.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00