Skip to content

Optimize file indexing #654

@RuiMarioCosta

Description

@RuiMarioCosta

dtl-viewer is slow when loading DLT files taking some time to load a file with just 500mb and becomes extremely slow files in the gigabytes. There are several parts that contribute to this but the main method is QDltFile::getMsg which is called from DltFileIndexer::indexFilter.

My plan is to first stablish a baseline to understand if the performance is actually improving or not and to do that I was thinking of using google's benchmark library which is fairly easy to use and well documented. The idea in this step is to create bechmarks for the biggest hotspots of the code. After that the optimization can start.

I already have some small benchmarks but nothing special but before putting more effort would this be a good idea?

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions