From 695ac7eae3d7333291dc3d262b30d038ee65e802 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 3 Mar 2018 14:58:45 -0800 Subject: [PATCH] add mark/measure --- routes/_components/compose/ComposeInput.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/_components/compose/ComposeInput.html b/routes/_components/compose/ComposeInput.html index 48f6ce0f..37572895 100644 --- a/routes/_components/compose/ComposeInput.html +++ b/routes/_components/compose/ComposeInput.html @@ -49,9 +49,11 @@ const saveText = debounce(() => scheduleIdleTask(() => this.store.save()), 1000) this.observe('rawText', rawText => { + mark('observe rawText') let realm = this.get('realm') this.store.setComposeData(realm, {text: rawText}) saveText() + stop('observe rawText') }, {init: false}) }, setupAutosize() {