mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
d29d97231c58c48d69c856131ad080fae17981e8
The SQLITE database syncs (writes) to the metricDB file after every atomic transaction. As the size of the database grows this becomes very expensive (suspect it is writing the entire DB). To avoid this behaviour the Metric refresh code opens and commits a LUW for the entire refresh. This has shown to improve the performance of the metric refresh quite dramatically (50% reduction in overall time to complete a metric refresh). Big props to Fredrik Lingvall for detailed analysis and profiling of the code to identify the inefficiencies.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.2%
C++
28.2%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%