Bug 281402
| Summary: | [MediaRecorder/WebM] Inefficient memory usage driven by libwebm's mkvmuxer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
The mkvmuxer writes data on average one or two bytes at a time and we append those bytes for a FragmentedSharedBuffer ; profiler shows that a lot of time is spent allocating the Vector that will contain this data and highly fragmented memory usage.
We should pack it up in block instead.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/137845423>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/35128
EWS
Committed 285159@main (d4723d6d5ac3): <https://commits.webkit.org/285159@main>
Reviewed commits have been landed. Closing PR #35128 and removing active labels.