Add benchmark for inserting newline in big file

This commit is contained in:
Nathan Sobo
2012-05-11 18:44:15 -06:00
parent f47abdead9
commit 73c51583e6

View File

@@ -54,6 +54,10 @@ describe "editor.", ->
waitsFor (scrollComplete) ->
editor.scroller.on 'scroll', scrollComplete
describe "on-first-line.", ->
benchmark "inserting-newline", 5, ->
editor.insertNewline()
describe "at-eof.", ->
endPosition = null