Long wait time between steps in the HTML course

Is it normal for the site to take a couple of minutes to load between steps? It seems for me the further into the course I get the longer the refresh times are. After simply adding a bold font in the HTML course it took nearly 2 minutes before I could continue with the next step. If there is any additional info about my pc or internet connection needed let me know.

Have you checked your internet connection speed?

It’s not the user connection. I had the same issue this morning. Very long wait times after submitting.

Yeap,

858.3

Mbps download

173.9

Mbps upload

Latency: 7 ms

According to Google:

Your Internet connection is very fast.

Your Internet connection should be able to handle multiple devices streaming HD videos, video conferencing, and gaming at the same time.

As I got further into the HTML course the site became totally unresponsive. Had to exit a couple of times as well and lost progress. Took me 90+ minutes to complete it.

Well, it is definitely not normal or expected. I don’t see a slowdown, but I didn’t test it much.

What challenge are you on right now?

Does restarting your browser change anything?

What do you see on the browser network tab in the developer tools if you hard refresh the page. What are the ms load times?


There isn’t any downtime reported, but that doesn’t mean there can’t be slowdowns somewhere (could also be cloudflare).

I just completed the course work. I first noticed the issue somewhere after step 20. By the time I got to the step where you add <strong> (step 34) the page became unresponsive. I exited and came back and it was better for a couple steps then slowed down again.

I tried going back in mid course just now at step 34 to see what the times were but it seems to behave as one would expect with times between 100-500 ms after submitting code and progressing towards the next step.

If it gets worse over time, it likely isn’t a network issue. Sounds more like a local memory/CPU issue, especially if restarting the browser fixes it.

Make sure it isn’t an extension causing issues, and maybe try in a different browser. What browser are you using now?

If it is affecting everyone and the browser doesn’t matter, I guess it could be a memory leak somewhere.

Chrome is the browser I am using and the only extension I have is Google Docs Offline which I believe is native to Chrome. I didn’t restart the browser just the tab the code camp was on. Everything else was working without issue, aka music streaming, discord etc.

Perhaps if it slows down again tomorrow I will exit everything except for the lesson and see if that helps any.

I’ve also noticed it being sluggish today.

I was doing some investigating and it crashed my browser while copying this error.

Loading this page is just sluggish compared to my usual experience, but in seconds not minutes.
https://www.freecodecamp.org/learn/full-stack-developer/workshop-hotel-feedback-form/step-4

Firefox, I have privacy/tracker blocker extensions but they are all disabled for freecodecamp.

Uncaught InternalError: too much recursion
    J index.ts:13
    _execute_array posthog-core.ts:748
    push posthog-core.ts:810
    b step-4 line 594 > injectedScript:1
    n posthog-core.ts:778
    J index.ts:15
    n posthog-core.ts:767
    _execute_array posthog-core.ts:786
    push posthog-core.ts:810
    b step-4 line 594 > injectedScript:1
    n posthog-core.ts:778
    J index.ts:15
    n posthog-core.ts:767
    _execute_array posthog-core.ts:786
    push posthog-core.ts:810
    b step-4 line 594 > injectedScript:1



I disabled VPN it’s still sluggish.

It’s sluggish if I just use the fCC website and do that page.

If I load that page with the devtools console open it flood with errors and freezes up my browser.

So today is not the norm. Copy! Good to know.

I’m here https://www.freecodecamp.org/learn/full-stack-developer/workshop-hotel-feedback-form/step-22

It seems normal now and I’m not getting any of those errors in the console anymore.

Might be PostHog causing it.

It does seem like a lot of activity from it. Can’t really tell if editor actions makes it worse or if it just is doing it anyway. But it does seem like focus and scrolling might be causing extra activity. I do see that minimizing/maximizing the browser causes a POST to Stripe always followed by a POST to PostHog. It adds up pretty quickly.


PostHog really makes me think of a pig dressed in a uniform and delivering mail door to door.

High overhead / poor performance with React SPA and PostHogProvider #1514
Open
@lauri865
Description
lauri865
opened on Nov 5, 2024 · edited by lauri865

We just spent the last 5 days searching for the root cause of our performance issues in the app, and after optimising everything to no end, we finally realized that the root cause seems to be Posthog. After disabling Posthog, our app became lightning fast in production, and route changes became from sluggish to instant. Click events from lagging to instant.
ostHog Next.js causing memory leaks #1405
Open
@mjad218
Description
mjad218
opened on Sep 9, 2024 · edited by mjad218

Hi,
I have been using PostHog for a while and just discovered it is causing a serious memory leak.
I am using next@14.2.8.

I solved the leak by lazily importing Posthog.


Things are behaving as one might expect today. I guess whatever the issue was it cleared up!