sauron icon indicating copy to clipboard operation
sauron copied to clipboard

windows-tab-rows demo lags

Open yatesco opened this issue 3 years ago • 1 comments
trafficstars

Hi - if I type quickly into a single field in the windows-tab-rows demo then it immediately lags:

image

Is this a restriction of the JS->WASM->JS bridge, or is this unexpected?

Thanks!

yatesco avatar Dec 16 '21 07:12 yatesco

"release mode for JS you say?" doh. This is what the profile from the release build looks like. Much better, but still higher than I expected: image

yatesco avatar Dec 16 '21 07:12 yatesco

A lot of improvements has been added to the framework, this includes performance optimization and memory usage. Early development was made to allow leaking of memory in order to move the development forward, without getting hindered by the details of closures from web-sys and js-sys implementation. This has already been fixed in the newer version of the framework.

ivanceras avatar Jul 29 '23 10:07 ivanceras