Closed wagoodman closed 2 months ago
This PR incorporates https://github.com/gabriel-vasile/mimetype/pull/553 via the temporary fork. Before this improvement this was the relative performance for a sample image via syft:
Specifically the mimetype detection was allocating 1.1GB of memory:
With the upstream change incorporated we're using ~800 less MB of memory (reduced 1.1GB to ~340MB) to do the same work:
Note the figures are for total allocated space and not inuse memory.
Partially addresses #233
This PR incorporates https://github.com/gabriel-vasile/mimetype/pull/553 via the temporary fork. Before this improvement this was the relative performance for a sample image via syft:
Specifically the mimetype detection was allocating 1.1GB of memory:
With the upstream change incorporated we're using ~800 less MB of memory (reduced 1.1GB to ~340MB) to do the same work:
Note the figures are for total allocated space and not inuse memory.
Partially addresses #233