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

[Perf] useActivityTreeWithRenderer slowdown exponentially #5162

Closed
compulim opened this issue May 3, 2024 · 0 comments · Fixed by #5163
Closed

[Perf] useActivityTreeWithRenderer slowdown exponentially #5162

compulim opened this issue May 3, 2024 · 0 comments · Fixed by #5163
Labels
area-performance bug Indicates an unexpected problem or an unintended behavior.

Comments

@compulim
Copy link
Contributor

compulim commented May 3, 2024

Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

Bundle (webchat.js)

Which hosting environment does this issue primarily affect?

Web apps

Which browsers and platforms do the issue happened?

Browser: Edge (latest), Browser: Chrome (latest)

Which area does this issue affect?

Chat history

Which theme pack does this issue affect?

I did not test it on other theme packs

What is the public URL for the website?

No response

Please describe the bug

Adding 20 activities in a batch continuously, we see the render time continue to increase.

Do you see any errors in console log?

No response

How to reproduce the issue?

  1. Render 20 activities of plain text
  2. Wait for 20 activities to show in the chat history
  3. Measure the time it takes to complete step 1 and 2
  4. Loop to 1 until 200 activities is shown

What do you expect?

The rendering time is reasonably curbed.

What actually happened?

Comparing the 3rd activity with 197th activity, we are seeing the ActivityTreeComposer took significantly more time to complete.

image

image

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

No response

Additional context

No response

@compulim compulim added bug Indicates an unexpected problem or an unintended behavior. area-performance labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-performance bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant