Skip to content

Conversation

@justusmattern27
Copy link
Contributor

No description provided.

@justusmattern27 justusmattern27 marked this pull request as ready for review April 28, 2024 15:34
Copy link
Member

@hkonsti hkonsti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great work!!!

const hiddenFolderId = uuidv4();

/**
* TODO: Change this in the future after more testing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can delete this todo haha

);

renderPromises.push(renderVideoOnPage(browser, server, url));
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're losing time here. Couldn't a browser start rendering right after it's ready? Right now the first one needs to wait for all the others before it can start.


for (const folder of cleanupFolders) {
try {
await fs.promises.rm(folder, {recursive: true, force: true});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could parallelize this with an array and Promise.all(). Feel free to ignore this though, I don't think we would notice any difference.

},
"preview": {
"fps": 60,
"fps": 30,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this makes the preview in the editor smoother

@justusmattern27 justusmattern27 merged commit dc9ddd1 into main Apr 29, 2024
@justusmattern27 justusmattern27 deleted the justus/parallel-rendering branch May 3, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants