Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
High CPU usage browsing VFP Help Site
Message
De
31/05/2021 11:55:57
 
 
À
29/05/2021 15:22:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
01680823
Message ID:
01680852
Vues:
45
>Hi Tore,
>
>I understand you host the online VFP help site at https://www.vfphelp.com/vfp9/ . Thanks for hosting this excellent resource.
>
>I've noticed what seems to me some unusual behaviour. When I visit the site I see a left pane with navigable table of contents, and the right pane shows the contents of the current selection. Initially CPU utilization is very low. This is all as expected.
>If I navigate the left pane, CPU remains low. However, as soon as I click on any topic CPU jumps up to about 30% on my quad core machine and remains there as long as I have the site open. After the initial page load I would normally expect CPU to drop back down to a low level.
>I see this in current versions of Firefox and MS Edge on Windows 10.
>Is this known/expected behaviour? I ask because there is a type of malware which, when injected into a compromised site, causes visitors' computers to mine cryptocurrencies. This manifests as unexpectedly high CPU utilization.

Hi Al,
unfortunately I am far from an expert on the subject you ask. This "project" is something I have worked with, on and off, over a long time, as a challenge and for fun. I am far from an expert on the subject. I have owned the URL for a long time, it is just a coincident that the name of my website fits perfectly in this case.

First I downloaded the source files from Francis' area at Github, https://github.com/VFPX/HelpFile. Since it's a collection of HTML files, I tried to get it to "work", but it required a lot of changes, mostly to make the folder structure "match", there was a huge number of broken links. But with the help of WW Help Builder and some VFP code that I made myself, I finally made it work.

Why it requires so much processor power, I have no idea. If you want, I can zip all the files into one, and give you a download link, so that you can inspect it yourself.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform