Long conversation cause the page being very slow, 18k JS executions plus 2M DOM nodes after the page is loaded(the screenshot on reply)

Previously on:

The webpage is super slow after reach 220000 tokens, found many of “CountTokens” on Chrome dev tools

After I am temporarily done with that ~650 CountTokens by ublock, the long conversation page is still pretty slow. Especially if I click the rerun or run button, the page is going to freeze for ~20 seconds.

I was trying to figure out what happened on Chrome dev tools, that shows a great amount of JS code executed while the page is loading, then I installed the [Luminous: JavaScript events blocker] Chrome extension to check what is going on. The result is:

(After the page is fully loaded)

Compared with the old context window, the new context window is with ~3k JS executions only.
The old context window with far more JS events, such as “setInterval”, etc.
I don’t think I can handle this, but I found out in an old post here that someone complained about a similar issue before. Logan_Kilpatrick offered some help on there…

To Logan Kilpatrick, hello? Are you here? Do you read this?

Many reddit posts complained about this issue also:

www.reddit.com/r/Bard/comments/1hw6qx4/google_ai_studio_is_amazing_but_anyone_else/?rdt=61515

https://www.reddit.com/r/Bard/comments/1j2kh4z/google_ai_studio_really_slow_with_long/?sort=top

I found out there are 2milions of DOM nodes as well. (I turned off the ublock)

Similar with:

(Opps…I forgot to @…)
@Logan_Kilpatrick Please read the first post of the thread and reply.