mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Add benchmark for inserting newline in big file
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user