whoogle-search icon indicating copy to clipboard operation
whoogle-search copied to clipboard

[QUESTION] Slow performance on Windows install via pip/pipx

Open skjerns opened this issue 2 years ago • 6 comments

I really like the idea of whoogle, however, my attempts of running it so far are unusably slow. I tried running it via pipx or regular pip install, and each site call takes about 5-10s. Regardless of running it on Windows, RaspberryPi. For now I'm using the default settings. I'm also using a pi.hole on the raspi and I have set it as the primary DNS in my router, if that helps resolving the issue. It seems to be running smoothly on a Virtual Machine with Ubuntu

Do you know what the problem could be, or is this a Windows issue?

skjerns avatar Oct 12 '21 11:10 skjerns

what do you mean by slow? like are the search results slow? or initial response time? I run it on an replit instance and the response time is slow... But that's just because it's running on a shared CPU on other hardware is runs just fine

Albonycal avatar Oct 12 '21 11:10 Albonycal

Each request takes around 3-4s to get an initial response, and then another 3-4s to fully load the page.

I got it to run via WSL2, and it's fast there, however, I receive the problem "Our systems have detected unusual traffic"

skjerns avatar Oct 12 '21 11:10 skjerns

well that's not whoogles fault ( the unusual traffic thing) it's just google blocking it

On Tue, Oct 12, 2021 at 5:18 PM Simon Kern @.***> wrote:

Each request takes around 3-4s to get an initial response, and then another 3-4s to fully load the page.

I got it to run via WSL2, and it's fast there, however, I receive the problem "Our systems have detected unusual traffic"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/benbusby/whoogle-search/issues/454#issuecomment-940937874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP7TNJ7JWFTI6D2TTQXJKU3UGQN7TANCNFSM5F2KDWDA .

Albonycal avatar Oct 12 '21 12:10 Albonycal

It sounds like a Windows issue. I'll try to look into it, but since I rarely ever develop on/for Windows, I'm not sure how much good it'll do.

That being said, I'm confident that the app logic itself isn't the problem here. I don't include any performance measurements in the CI suite currently, but the test script in the pipeline currently goes through 17 requests in about 10 seconds total, if that's any consolation. Hopefully your issue is just a simple configuration issue that we can figure out quickly.

benbusby avatar Oct 12 '21 15:10 benbusby

Hmm.. also, which pi was this?

Albonycal avatar Oct 12 '21 17:10 Albonycal

Hmm.. also, which pi was this?

it's a Raspberry Pi 3 Model B Rev 1.2

skjerns avatar Oct 13 '21 10:10 skjerns