]> sigrok.org Git - pulseview.git/commit
Increase session saving chunk size for much better performance.
authorUwe Hermann <redacted>
Thu, 16 Mar 2017 22:29:24 +0000 (23:29 +0100)
committerUwe Hermann <redacted>
Thu, 16 Mar 2017 22:37:08 +0000 (23:37 +0100)
commit9cc264b4361acc503f156e90139c15cd6c324258
treee54ed521d6f57b2943effd2ada7ae3ddf2da1f79
parent9b64f2dfe9179f665ef97c0d0ac992274864f4a4
Increase session saving chunk size for much better performance.

Increasing the StoreSession chunk size from 1Msamples to 10Msamples
leads to massively faster session saving due to reduced overhead.

In some cases a 2x (or more) speed-up has been observed. A further increase
to, say, 100Msamples shows no further noticeable improvements.

This also has the additional benefit of generating fewer entries/files
within the sigrok session (*.sr) output/ZIP files, which can potentially
be beneficial for very long captures.
pv/storesession.cpp