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
Comparing the node.js and ruby code you'd notice that it's using the exact same workflow for better comparison, but the puppeteer-ruby hangs if THREAD_COUNT is set to 50/100 or doesn't complete the entire script if the THREAD_COUNT is set to 25. Somehow I'm noticing degraded performance beyond 100 runs.
Expected behavior
puppeteer-ruby should not freeze
Environment
Ubuntu 22 / MacOS
Paste the output of ruby --version
ruby-3.3.4
The text was updated successfully, but these errors were encountered:
ronakjain90
changed the title
Firefox Parallel requests.puppeteer-ruby freezes with multiple threads.
Oct 30, 2024
Step To Reproduce / Observed behavior
Hi @YusukeIwaki - Thanks for this open source project, we are currently using this in production and I have noticed the following issue.
When running in parallel threads,
puppeteer-ruby
(using chrome/firefox) times out very frequentlypuppeteer-node doesn't face the same issue. I have created a small script with exact same functionality using both puppeteer ruby and node.
puppeteer-node
with the exact same steps as ruby.Comparing the node.js and ruby code you'd notice that it's using the exact same workflow for better comparison, but the puppeteer-ruby hangs if
THREAD_COUNT
is set to 50/100 or doesn't complete the entire script if theTHREAD_COUNT
is set to 25. Somehow I'm noticing degraded performance beyond 100 runs.Expected behavior
puppeteer-ruby should not freeze
Environment
Ubuntu 22 / MacOS
Paste the output of
ruby --version
ruby-3.3.4
The text was updated successfully, but these errors were encountered: