LivelyKernel / LivelyKernel/lively4-core

changes to global content in lively is slowed down, probably due to mutation observer

Open
#204 1 comment 0 reactions 0 assignees View on GitHub
comp: base system type: performance
Dominant language
JavaScript
Stars
89
Forks
25
PR merge metrics
No merged PRs in 30d

Description

the rectangles benchmark showed that something is slowing down modifications of html elements in lively compared to running the same benchmark outside.

When running the benchmarks inside a shadow root, the performance gets much better, so we suspect the mutation observer to take its toll.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the rectangles benchmark and compare modifications of global HTML content in lively with the same benchmark outside lively and inside a shadow root. Trace the mutation observer activity involved; done means the global-content benchmark no longer shows the reported slowdown or the cause is documented with measurements.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.