Like many others Knockout developers before me, I encountered a “slow running script” warning in IE.
Before profiling my client-side script, I wanted to see how others solved similar problems. [Incidentally, here was the best Knockout profiling advice I found.]
- @RP Niemeyer suggested that PauseableComputeds are useful in these situations.
- And he's correct. Indeed, PausableComputed are useful in these situations. I implemented a PauseableComputed in my code, and it solved my problem.
- But afterwards, I discovered the 'throttle' extender by reading this answer.
Here's my two part question:
- Was the
throttle
extender introduced to solve the same problem that PauseableComputeds were trying to solve? - Are both equally good constructs to solve the “slow running script” warning in IE?