]> sigrok.org Git - libsigrok.git/commit
session_driver.c: Increase chunk size for slightly better performance.
authorUwe Hermann <redacted>
Thu, 16 Mar 2017 22:59:58 +0000 (23:59 +0100)
committerUwe Hermann <redacted>
Thu, 16 Mar 2017 22:59:58 +0000 (23:59 +0100)
commitdf3e608a20620836ecad6d8d4dc6c0b27b1658a8
treeabb4d9b5b8fd6b98895e1bcc848e1baca995719f
parentf9592d65e9759b9a37c51a090c3504d4328ba4d4
session_driver.c: Increase chunk size for slightly better performance.

Increasing the chunk size from 512ksamples to 4Msamples leads to
slightly faster session file loading from sigrok session (*.sr) files
in frontends, while not looking too "chunky".

The performance increase is not really massive, but still noticeable.
A further increase to, say, 10 or 100Msamples shows no further
noticeable improvements.
src/session_driver.c