Screenshot from a Sysprof flamegraph, showing about half of the time spent on determining the file contents types, and potentially half of the time creating the cells to display them
https://files.mastodon.social/media_attachments/files/114/022/841/824/110/392/original/3d5cbc0f7abc074c.png