]> sigrok.org Git - pulseview.git/commit
inputfile: Increase chunk size from 16KB to 4MB.
authorUwe Hermann <redacted>
Sat, 14 Apr 2018 20:23:52 +0000 (22:23 +0200)
committerUwe Hermann <redacted>
Sun, 15 Apr 2018 15:11:51 +0000 (17:11 +0200)
commit1f419596224bd8f73fc8c59b52b8775685249a07
tree33900a6cea5cba9b4d2d4753acba363969321cbd
parent3b0acbcbcd902ac61a3841e7c558cbc5f8448b7f
inputfile: Increase chunk size from 16KB to 4MB.

Use a 4MB chunk size for reading a file into memory. Larger values don't
seem to provide any substancial performance improvements, but can cause
UI lag and a visually "stuttering" display of the data currently loading.
pv/devices/inputfile.cpp