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
Updated https://github.com/feesler/puppeteer-perf package to test this issue.
Script will download Chromium revision 1095492 to discard possible difference in browser performance.
Try to run several times to avoid caching effects or give URL with more elements on page.
This issue was not reproducible. Please check that your example runs locally and the following:
Ensure the script does not rely on dependencies outside of puppeteer and puppeteer-core.
Ensure the error string is just the error message.
Bad:
Error: somethingwentwrongatObject.<anonymous>(/Users/username/repository/script.js:2:1)atModule._compile(node:internal/modules/cjs/loader:1159:14)atModule._extensions..js(node:internal/modules/cjs/loader:1213:10)atModule.load(node:internal/modules/cjs/loader:1037:32)atModule._load(node:internal/modules/cjs/loader:878:12)atFunction.executeUserEntryPoint[asrunMain](node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Good: Error: something went wrong.
Ensure your configuration file (if applicable) is valid.
If the issue is flaky (does not reproduce all the time), make sure 'Flaky' is checked.
If the issue is not expected to error, make sure to write 'no error'.
Once the above checks are satisfied, please edit your issue with the changes and we will
try to reproduce the bug again.
@jrandolf ptal, it is probably the new selector querying engine. I think 30-50% is too much so perhaps there is a bug (or generators are that much slower in Node just like ESM imports were last time).
This depends on how many elements are being queried. We typically batch queried elements with a default size of 20 which may be why this query takes so long (there are 120~ elements). I've amortized the logic related to this so the performance should be fixed. (It will still be about ~8-10% slower, but this is expected because of some new logic we've built into puppeteer)
Bug expectation
Similar to #8650 but not so dramatic.
Steps to reproduce the problem:
Updated https://github.com/feesler/puppeteer-perf package to test this issue.
Script will download Chromium revision 1095492 to discard possible difference in browser performance.
Try to run several times to avoid caching effects or give URL with more elements on page.
Bug behavior
Minimal, reproducible example
Error string
no error
Puppeteer configuration
No response
Puppeteer version
19.8.5
Node version
19.8.1
Package manager
npm
Package manager version
8.13.2
Operating system
Windows
The text was updated successfully, but these errors were encountered: