JohnMcLear / ep_page_view

Etherpad Page View plugin
https://npmjs.org/package/ep_page_view
14 stars 17 forks source link

ep_page_view's aceEditEvent handler is very slow #31

Open kentonv opened 7 years ago

kentonv commented 7 years ago

This handler adds noticeable lag to key presses that gets worse as the pad gets larger. At best typing "feels off", but at worst the user can actually type faster than Etherpad handles the events, at which point things get really bad really quickly.

In Sandstorm it turns out this handler isn't doing anything useful as we already disabled computed page breaks (see #30), so I went ahead and NOPed out the handler too. So, not urgent for us, but I figured I'd file an issue to flag the problem.