iFarmGolems

joined 1 year ago
[–] iFarmGolems@lemmy.world 3 points 5 months ago

Phew! Close one.

[–] iFarmGolems@lemmy.world 0 points 10 months ago

Sure buddy.

https://www.phoronix.com/news/Firefox-Chrome-109-Benchmarks

I'm a web dev and can instantly tell the difference. It's very noticeable when rendering maps on browser (what I do).

Average Pete browsing news sites won't tell the difference though, I agree with that.

[–] iFarmGolems@lemmy.world 1 points 10 months ago

It's better than chrome. Smaller memory footprint and a bit faster. Source: I'm web dev.

[–] iFarmGolems@lemmy.world -5 points 10 months ago (2 children)

But Firefox is way slower than chrome...

[–] iFarmGolems@lemmy.world 0 points 10 months ago (1 children)
[–] iFarmGolems@lemmy.world -4 points 11 months ago (1 children)

It's not gonna. Game support is bad.

[–] iFarmGolems@lemmy.world 1 points 1 year ago

I tried it in about:blank but it does the same. Maybe there is some extension in my browser that slows it down (somehow). Im running tampermonkey but it's not active on any pages I tried this on.

I ran the script in nodejs and everything works perfectly, the sleep time is very close to the original value so it's definitely something inside browser that causes it to lag.

[–] iFarmGolems@lemmy.world 1 points 1 year ago

I said all over the place because I've seen numbers like 1.7 seconds, 2.8 seconds and so on. But it does mostly land on integer multiples.

Anyway, tried to run this in nodejs and it works as expected - so the conclusion is that it's somehow a limitation in browser engine (V8 in this case)

[–] iFarmGolems@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (2 children)

It's not. I am running process lasso tough but doubt that's the issue.

I have Ryzen 5800x3D and tried the code on latest Ms edge (chromium) browser.

Which browser did you try it on? Or did you try to run it in node?

The browser tab was active and focused also.

 

Hi, I need to create a infinite (but breakable) cycle where I can slow down the cycle by awaiting promises inside. While cycle should be able to do this, but as you can see in the image, the duration is all over the place.

Why is this happening? Is there a way to make it close to the original sleep duration?