remotion-dev/remotion

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 is slowestFrames, which returns the 10 slowest frames (if there are any)
  • In the cli package, grab that information, and print the slowest frames using Log.verbose
  • In the lambda package, in renderer.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)

@jonnyburger has funded $167.00 to this issue.


posted by issuehunt-app[bot] over 2 years ago

I'd like to work on this šŸ˜„

posted by uragirii over 2 years ago

@uragirii I'll make a new rule for Hacktoberfest that you need to finish a PR before tackling the next one! (Will post all rules in a few moments).

I know that this can only proceed if I review the PRs, I will prioritize that tomorrow!

posted by JonnyBurger over 2 years ago

Haha! sure i will finish my pending PRs first then.

posted by uragirii over 2 years ago

@JonnyBurger now that all the other PRs are finished, can i work on this ?

posted by uragirii over 2 years ago

@uragirii Assigned it to you!

posted by JonnyBurger over 2 years ago

@jonnyburger has rewarded $150.30 to @uragirii. See it on IssueHunt

  • :moneybag: Total deposit: $167.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $16.70
posted by issuehunt-app[bot] over 2 years ago

Fund this Issue

$167.00
Rewarded

Rewarded pull request

Recent activities

uragirii was rewarded by jonnyburger for remotion-dev/remotion# 1344
over 2 years ago
jonnyburger submitted an output to  remotion-dev/ remotion# 1344
over 2 years ago