Improve text diagram on throttle and debounce