Skip to content

perf(connections): eliminate blocking File.existsSync() filesystem calls during widget build in DriverIconImage - #1416

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1344-driver-icon-async-io
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1344-driver-icon-async-io

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #1344

  • Removes synchronous POSIX stat/access file.existsSync() check from DriverIconImage.build.
  • Relies on SvgPicture.file and Image.file built-in asynchronous errorBuilder fallback to handle missing or corrupt driver icon files without freezing the Flutter UI thread during scrolling or list building.

@github-actions github-actions Bot added frontend Theme parser epic label: frontend performance Theme parser epic label: performance connections Database connections, URI parsing, pools P3 Low priority / Polish & Enhancements labels Oct 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 4f9443e into dev Oct 11, 2026
13 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1344-driver-icon-async-io branch October 11, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connections Database connections, URI parsing, pools frontend Theme parser epic label: frontend P3 Low priority / Polish & Enhancements performance Theme parser epic label: performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant