goggles icon indicating copy to clipboard operation
goggles copied to clipboard

study how d3 does DOM manipulation

Open yakticus opened this issue 10 years ago • 2 comments

ensure we can get at least as good performance as D3 DOM manipulation using scalatags + scala.rx

yakticus avatar Aug 24 '15 20:08 yakticus

When running in the browser, just visually, this example:

Force-directed graph (scalatags + scala.rx)

is much, much slower than these:

Force-directed graph (js.Dynamic.global)
Force-directed graph (scala.js facade)

Animations draw much more slowly and interactivity is very slow.

Sorry, not adding much value right now :flushed:

virtualirfan avatar Aug 24 '15 20:08 virtualirfan

Actually, i should take some of that back ... i just ran with fullOptJs and it's noticeably faster than before. Initial draw is significantly slower than the facade and dynamic implementations But drag performance with scalatags/rx is much closer to the facade and dynamic implementations.

virtualirfan avatar Aug 24 '15 21:08 virtualirfan