add mark/measure
This commit is contained in:
parent
3dc46791e9
commit
695ac7eae3
|
@ -49,9 +49,11 @@
|
||||||
const saveText = debounce(() => scheduleIdleTask(() => this.store.save()), 1000)
|
const saveText = debounce(() => scheduleIdleTask(() => this.store.save()), 1000)
|
||||||
|
|
||||||
this.observe('rawText', rawText => {
|
this.observe('rawText', rawText => {
|
||||||
|
mark('observe rawText')
|
||||||
let realm = this.get('realm')
|
let realm = this.get('realm')
|
||||||
this.store.setComposeData(realm, {text: rawText})
|
this.store.setComposeData(realm, {text: rawText})
|
||||||
saveText()
|
saveText()
|
||||||
|
stop('observe rawText')
|
||||||
}, {init: false})
|
}, {init: false})
|
||||||
},
|
},
|
||||||
setupAutosize() {
|
setupAutosize() {
|
||||||
|
|
Loading…
Reference in New Issue