For two identical vaults, one stored locally On My iPad and one stored on the iCloud Drive, the function call renderHeatmapCalendar experiences a significant lag for the vault stored on iCloud. Specifically, the file lags when switching between reading and source modes in Obsidian and experiences lags when editing the file in source mode. Here's a video: https://imgur.com/a/yhaDYbt. This lag does not exist for the same vault stored locally.
Commenting outrenderHeatmapCalendar gets rid of the lag. This indicates that the Dataview queries running on iCloud files aren't the problem. Instead, whatever renderHeatmapCalendar does under the hood becomes laggy when operating on iCloud files.
For two identical vaults, one stored locally On My iPad and one stored on the iCloud Drive, the function call
renderHeatmapCalendar
experiences a significant lag for the vault stored on iCloud. Specifically, the file lags when switching between reading and source modes in Obsidian and experiences lags when editing the file in source mode. Here's a video: https://imgur.com/a/yhaDYbt. This lag does not exist for the same vault stored locally.Commenting out
renderHeatmapCalendar
gets rid of the lag. This indicates that the Dataview queries running on iCloud files aren't the problem. Instead, whateverrenderHeatmapCalendar
does under the hood becomes laggy when operating on iCloud files.