You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I noticed that await page.render(renderContext, annotations); gets called even if annotations.length is 0. Is there a reason for this?
I think making it so that only pages with annotations are rendered would greatly improve the time it takes to extract the highlights.
I think it depends on the PDF, but I timed that it takes about 100-200ms per page to render, making a 500 page pdf take 1-2 minutes regardless of the amount of annotations.
The text was updated successfully, but these errors were encountered:
Hi, I noticed that
await page.render(renderContext, annotations);
gets called even ifannotations.length
is 0. Is there a reason for this?I think making it so that only pages with annotations are rendered would greatly improve the time it takes to extract the highlights.
I think it depends on the PDF, but I timed that it takes about 100-200ms per page to render, making a 500 page pdf take 1-2 minutes regardless of the amount of annotations.
The text was updated successfully, but these errors were encountered: