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
I have a need to detect the load time of web pages, but I encountered some problems when processing a large number of pages in parallel. My entire program is performed in tokio runtime, I hope to run it in the form of task::spawn_blocking.
start browser: https://www.rust-lang.org/
start browser: https://aws.amazon.com/
start browser: https://www.cloudflare.com/
https://www.rust-lang.org/: 3.854869329s
https://www.rust-lang.org/: 4.119861796s
https://www.rust-lang.org/: 5.435828585s
https://www.rust-lang.org/: 8.424771699s
https://www.rust-lang.org/: 9.711593305s
target: https://www.rust-lang.org/ total duration: 31.546924714s
https://www.rust-lang.org/ done.
https://aws.amazon.com/: 18.602800925s
https://aws.amazon.com/: 19.842338577s
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
target: https://aws.amazon.com/ total duration: 38.445139502s
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
failed: The event waited for never came
target: https://www.cloudflare.com/ total duration: 0ns
https://www.cloudflare.com/ done.
https://aws.amazon.com/ done.
Total time: 40.207492793s
This code runs without problems on my M2 macbook, but a similar problem occurs when I put it on an aarch64 box. Is there something wrong with what I am using? Can anyone help me?
The text was updated successfully, but these errors were encountered:
I had a problem when spawning multiple browsers in parallel - don't know if it was my hardware or some other problems. I've also tried the other project chromiumoxide but I find it extremely unreliable compared to this project. In the end I've gone more sequential. I imagine that if it works fine on M2 macbook then it's some kind of hardware related issue - but I have no clue. For me it runs great in docker on a linux host - but just gets stuck or hangs in a docker on my mac host.
I have a need to detect the load time of web pages, but I encountered some problems when processing a large number of pages in parallel. My entire program is performed in
tokio runtime
, I hope to run it in the form oftask::spawn_blocking
.Problem OS Info:
aarch64 debian
Below is a demo example of my code
This is the result log of a run:
This code runs without problems on my
M2 macbook
, but a similar problem occurs when I put it on anaarch64 box
. Is there something wrong with what I am using? Can anyone help me?The text was updated successfully, but these errors were encountered: