Hope the official team can optimize Canvas performance, with a summary of multiple test contents attached

Two Issues:

  1. Editing delay under Canvas (for cards and referenced markdown files)
  2. Scrolling delay under Canvas
    I have tested the 13900K+3090, 7950x+4090, and 7950x3d+4090, and there is a serious issue with Canvas performance. No configuration can smoothly run a Canvas card with 26,000 characters of content

Feature Requests:

  1. Please add multi-core support for Canvas. Currently, it seems only two threads are working.
  2. Align Canvas editing with markdown editing.
    • From my personal tests, they clearly do not follow the same compilation logic. Large texts in Canvas experience noticeable delays.
    • Markdown mode has seen significant improvements in handling large texts after updating Electron.
  3. Add a page hibernation feature. Having both Canvas and the corresponding page open causes significant delays.
  4. Increase GPU load.
    • The GPU load is not high when dragging the page.
    • The GPU is not loaded when entering content.

Currently Effective Performance Improvement Actions:

  1. Hardware Upgrades

    1. Single-core CPU performance can significantly improve Canvas performance.
    2. Memory frequency and GPU do not show significant improvement effects.
  2. Electron Upgrade

    1. Uninstalling and reinstalling can significantly improve performance, especially in markdown mode (please backup). I have tested the 13900K+3090, 7950x+4090, and 7950x3d+4090, and there is a serious issue with Canvas performance. No configuration can smoothly run a Canvas card with 26,000 characters of content - #21 by hxxsx
  3. CSS Snippet

    1. Some users reported it useful, but in my tests (both sandbox and non-sandbox), it caused display issues. Performance issue with Canvas when panning out of region with a large number of nodes - Bug reports - Obsidian Forum
  4. GPU Settings

    1. Dual GPU: Integrated GPU or discrete GPU. This can significantly improve scrolling performance.
  5. Disabling Plugins and Plugin Optimization

    1. Disabling plugins shows significant improvement, but there is still a performance gap between editing cards in Canvas and editing files in markdown mode.
    2. Currently, plugins that significantly impact Canvas:
      1. latex-suite, the issue was fixed after the upgrade. They provided a solution after analyzing the files I submitted, which might help with your optimization.Improve performance of `runSnippetCursor` by shunby · Pull Request #323 · artisticat1/obsidian-latex-suite · GitHub
1 Like

In the past few days, I upgraded from 7700 to 9600x. The single-core score in CPU-Z is 850. The smoothness of editing on canvas cards has improved, but the efficiency is still not as good as editing in markdown. If the same markdown file is displayed in canvas and then edited in the markdown window, the performance drops to the same level as editing in canvas (which means severe lag).