Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Processing Time #42

Closed
to2005 opened this issue Jun 8, 2019 · 5 comments
Closed

Image Processing Time #42

to2005 opened this issue Jun 8, 2019 · 5 comments

Comments

@to2005
Copy link

to2005 commented Jun 8, 2019

I just tried this yesterday on Win7 to internet browse on an old Mac Performa. I was curious if it's normal for wrp to take minutes to process an image before it gets sent to the Mac? For example going to msn.com took minutes. Doing a google search seems to take around a minute. Anyways, great job on putting this together! Seems to be the only viable way that i've found to use the internet browsers on these old Macs.

@tenox7
Copy link
Owner

tenox7 commented Jun 9, 2019

It should only take seconds in worst case. Just tried msn.com:

2019/06/08 18:02:38 192.168.0.47:54803 Page Request for url="http://www.msn.com" [/?url=http%3A%2F%2Fwww.msn.com&p=0&w=1024&h=768&s=1.00&c=256]
2019/06/08 18:02:38 192.168.0.47:54803 Processing Capture Request for http://www.msn.com
2019/06/08 18:02:42 192.168.0.47:54803 Landed on: https://www.msn.com/, Nodes: 424
2019/06/08 18:02:44 192.168.0.47:54803 Encoded GIF image: /img/6306.gif, Size: 212KB, Colors: 256
2019/06/08 18:02:44 192.168.0.47:54804 IMG Request for /img/6306.gif
2019/06/08 18:02:45 192.168.0.47:54803 Done with caputure for http://www.msn.com

The whole thing took 7 seconds including 1 sec sleep. Image was processes in 2 seconds.

Send me your logs.

@to2005
Copy link
Author

to2005 commented Jun 9, 2019

Thanks for taking a look! I just restarted my Win7 comp and had nothing else running besides WRP just in case something was bogging it down. First I did a google search, which took about a minute. Then clicked on the first link, msn, which took about 8 minutes.

2019/06/08 18:22:50 Web Rendering Proxy Version 3.0
2019/06/08 18:22:50 Starting WRP http server on :8080
2019/06/08 18:23:43 192.168.11.103:49154 Page Request for url="" [/]
2019/06/08 18:23:55 192.168.11.103:49155 Page Request for url="msn" [/]
2019/06/08 18:23:55 192.168.11.103:49155 Processing Capture Request for http://w
ww.google.com/search?q=msn
2019/06/08 18:25:03 192.168.11.103:49155 Landed on: https://www.google.com/searc
h?q=msn&gws_rd=ssl, Nodes: 162
2019/06/08 18:25:05 192.168.11.103:49155 Encoded GIF image: /img/7792.gif, Size:
141KB, Colors: 256
2019/06/08 18:25:05 192.168.11.103:49155 Done with caputure for http://www.googl
e.com/search?q=msn
2019/06/08 18:25:05 192.168.11.103:49156 IMG Request for /img/7792.gif
2019/06/08 18:25:45 192.168.11.103:49157 Page Request for url="https://www.msn.c
om/en-us" [/]
2019/06/08 18:25:45 192.168.11.103:49157 Processing Capture Request for https://
www.msn.com/en-us
2019/06/08 18:33:16 192.168.11.103:49157 Landed on: https://www.msn.com/en-us, N
odes: 422
2019/06/08 18:33:17 192.168.11.103:49157 Encoded GIF image: /img/6804.gif, Size:
226KB, Colors: 256
2019/06/08 18:33:17 192.168.11.103:49157 Done with caputure for https://www.msn.
com/en-us
2019/06/08 18:33:18 192.168.11.103:49158 IMG Request for /img/6804.gif

@tenox7
Copy link
Owner

tenox7 commented Jun 11, 2019

I have noticed that sometimes this happens on a first run of WRP. Try to stop it with ctrl^c, restart and see what happens. Also I have not done any testing on Windows 7 specifically. Could you try to run it on some other OS and see if you get any different result?

Also there is a new version that might make it better:
http://www.tenox.net/get//wrp/wrp-windows-test.exe
http://www.tenox.net/get//wrp/wrp-macos-test
http://www.tenox.net/get//wrp/wrp-linux-test
http://www.tenox.net/get//wrp/wrp-linux-rpi-test

@to2005
Copy link
Author

to2005 commented Jun 12, 2019

Runs fast like in your logs in Debian64 installed on a Virtual Box VM! Still runs very slow in Win7, so there must be some issue with Win7. What is the difference between these test executables and the v3.0 on your release page? Thanks for your help, I can finally use the browsers on my old Mac!

@tenox7
Copy link
Owner

tenox7 commented Jun 12, 2019

The difference is a fix for #41 which was causing high CPU utilization. I was hoping that it would help with Win7 issue. I will take a look at it separately but I can't make any promises in regards to Win7.

@tenox7 tenox7 closed this as completed Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants