 
   describe "9000-line-file.", ->
     benchmark "opening.", 5, ->
-      editor.edit rootView.project.buildEditSessionForPath('huge.js')
+      rootView.open('huge.js')
 
     describe "after-opening.", ->
       beforeEach ->
-        editor.edit rootView.project.buildEditSessionForPath('huge.js')
+        rootView.open('huge.js')
 
       benchmark "moving-to-eof.", 1, ->
         editor.moveCursorToBottom()


  describe "300-line-file.", ->
    beforeEach ->
      editor.edit rootView.project.buildEditSessionForPath('medium.coffee')

    describe "at-begining.", ->
      benchmark "insert-delete", ->


  beforeEach ->
    window.rootViewParentSelector = '#jasmine-content'
    window.attachRootView(require.resolve('benchmark/fixtures'))

    rootView.width(1024)
    rootView.height(768)
    require fs.join(atom.configDirPath, "default-config")
    rootView.open() # open blank editor
    editor = rootView.getActiveEditor()

  afterEach ->
