remotion-dev/remotion







The issue has been solved
Report slowest frames of renderMedia() #1344
JonnyBurger posted onGitHub
š This issue is part of our Hacktoberfest campaign! š Read more about Hacktoberfest here š This issue is currently assigned to @uragirii!
There is already a function for finding the slowest chunks inside renderMediaOnLambda(), but it would be useful to measure each single frame in renderMedia() and return the slowest frames so one can optimize the render times of it.
Acceptance criteria:
- Measure the time for each frame and store it in-memory, e.g. in a JavaScript object
- Make sure to free up the memory afterwards to not create a memory leak
- Make
renderMedia()
return an object of which one of the properties isslowestFrames
, which returns the 10 slowest frames (if there are any) - In the
cli
package, grab that information, and print the slowest frames usingLog.verbose
- In the
lambda
package, inrenderer.ts
, log the slowest frames as well. - Add documentation to
render-media.md
describing the feature and mention the version it's going to be available in (current version + 0.0.1)
Fund this Issue
Rewarded pull request
Report slowest frames #1381submitted byuragirii(111)
Click to copy link
Recent activities