Skip to main content

Notifications

Community site session details

Community site session details

Session Id : iqPiA+sVcwWm3asDJEaAw5
Copilot Studio - General
Answered

Slow performance of editing canvas

Like (0) ShareShare
ReportReport
Posted on 29 May 2023 08:55:36 by 158

Our team noticed that the new canvas slows down significantly when editing a topic that has more than 20 nodes. Changing conditions or even text in a message node becomes glitchy and slow. We're using developer laptops so there is no shortage of computing power. Does anyone else experience the same issue?

Categories:
  • sumeet2010 Profile Picture
    Microsoft Employee on 22 Jun 2023 at 19:02:11
    Re: Slow performance of editing canvas

    Discussed offline with Tak on this issue. On applying the perf canvas flag, the performance has improved and user is able to access the canvas. Looks like earlier the flag was not applied correctly.

    Assuming this thread to be resolved.

  • Tak103 Profile Picture
    72 on 20 Jun 2023 at 12:55:55
    Re: Slow performance of editing canvas

    Hi:

    I had applied the Beta version by add the parameter but is still taking a long time to response. I am working on topics that had been converted from classic to the new version (facing issues with conversion as well but is on another chain discussion). Will you be able to provide a time estimate as to when the performance issue will be resolve?

     

    Thanks,

     

    Tak

  • HenryJammes Profile Picture
    on 31 May 2023 at 20:15:48
    Re: Slow performance of editing canvas

    @MattJimison wrote:

    I always advise when creating large topics to consider breaking them up into multiple sub-topics that you redirect to from your main topic. The sub-topics don't have to have triggers (unless it makes sense to let someone skip to that part) and in that way they can only be called directly from another topic. This could help you resolve part of the issue, and even in the original PVA, there were performance issues whenever you built out large topics, which could be resolved by this technique. I'd suggest looking at the first part of your topic that branches off and considering creating each of those branches as sub-topics.

     

    I know it's probably not exactly what you're looking for, but could potentially help you out.

     

    Cheers,
    Matt


    Love this recommendation from yours.
    This also aligns with the recently publish PVA Guidance content.

    Let us know what you think: Topic authoring best practices - Power Virtual Agents | Microsoft Learn

  • ThtFreaknGuy Profile Picture
    13 on 31 May 2023 at 13:09:38
    Re: Slow performance of editing canvas

    Thank you, @sumeet2010! Early testing with that performance canvas option turned on is allowing significantly better topic operation compared to before.

  • Verified answer
    sumeet2010 Profile Picture
    Microsoft Employee on 30 May 2023 at 21:46:45
    Re: Slow performance of editing canvas

    Hello @inzil2k @ThtFreaknGuy, this is Sumeet from the PVA engineering team.

     

    Thank you for reaching out to us. We apologize for any inconvenience you may have experienced. We are aware of the issue you have shared with us, and our team is actively working on improving the performance of the canvas, especially when dealing with topics that have many nodes.

     

    To address this problem, we have developed a beta version of the canvas that offers better performance. You can early access it by adding a specific URL query parameter(enablePerfCanvas=true) and refreshing the topic page. Applying this query parameter should help alleviate the issue.

    Please keep in mind that we are currently in the process of propagating the performance updates. Soon, you can expect to have the improved canvas experience by default.

     

    If you have any further questions or concerns, please don't hesitate to let us know.

     

    Thanks, Sumeet

  • inzil2k Profile Picture
    158 on 30 May 2023 at 18:23:19
    Re: Slow performance of editing canvas

    We do split larger topics where it makes sense but sometimes splitting them up is not an option. It seems like an optimization issue too because the browser tab with PVA starts consuming large amounts of RAM when node count reaches double digits. 

  • MattJimison Profile Picture
    577 Most Valuable Professional on 30 May 2023 at 16:57:20
    Re: Slow performance of editing canvas

    I always advise when creating large topics to consider breaking them up into multiple sub-topics that you redirect to from your main topic. The sub-topics don't have to have triggers (unless it makes sense to let someone skip to that part) and in that way they can only be called directly from another topic. This could help you resolve part of the issue, and even in the original PVA, there were performance issues whenever you built out large topics, which could be resolved by this technique. I'd suggest looking at the first part of your topic that branches off and considering creating each of those branches as sub-topics.

     

    I know it's probably not exactly what you're looking for, but could potentially help you out.

     

    Cheers,
    Matt

  • ThtFreaknGuy Profile Picture
    13 on 30 May 2023 at 03:13:42
    Re: Slow performance of editing canvas

    Having the same issue. Tried recreating the bot from scratch, setting up a different environment, modifying small settings like Dark Mode and Co-Pilot, etc... nothing seems to resolve this issue and it's killing productivity.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard