Commit Graph

134 Commits

Author SHA1 Message Date
Ben Ogle
43ccf0a041 Convert require ‘atom’ to require '../src/space-pen-extensions' 2014-11-26 14:55:38 -08:00
Ben Ogle
ee4116536d Move the ViewRegistry to atom.views 2014-10-30 13:42:27 -07:00
Nathan Sobo
7f41be3103 Use atom.workspace.getView to construct WorkspaceViews
It returns the root DOM node of the workspace. Eventually this will
be a custom element but for now it’s just a DOM node with a
__spacePenView reference on it.
2014-09-19 16:24:12 -06:00
Kevin Sawicki
d7106a6b4c Make browser process benchmark executable 2014-09-08 09:22:43 -07:00
Kevin Sawicki
4b867ddc7a Properly delete socket file in benchmark 2014-09-08 09:22:43 -07:00
Kevin Sawicki
7eba55d009 Add initial browser process startup benchmark 2014-09-08 09:22:43 -07:00
Ben Ogle
dc21e8707f Deprecate EditorView::getFirstVisibleScreenRow 2014-09-04 15:25:55 -07:00
Ben Ogle
5e21d1ca5b Deprecate Editor::lineLengthForBufferRow 2014-09-03 14:42:46 -07:00
Ben Ogle
370ad23f7c Remove Cursor from ::moveCursor* methods 2014-08-28 15:25:12 -07:00
Ben Ogle
881c21829b Fix benchmark requires 2014-08-15 14:13:03 -07:00
Ben Ogle
34f96b2ea2 Correctly bootstrap the benchmarks 2014-08-15 14:13:03 -07:00
Maximilian Schüßler
32e59ce238 Cleanup code according to coffeelint 2014-08-14 19:41:49 +02:00
Kevin Sawicki
1489488159 Update rootView references in benchmarks 2013-11-26 11:02:54 -08:00
probablycorey
2ca738453b Update benchmarks 2013-11-19 15:24:50 -08:00
Kevin Sawicki
ef97dadea1 Update fs-utils references to fs-plus 2013-11-01 08:46:02 -07:00
Kevin Sawicki
4775783ba3 Add missing path require 2013-10-29 15:02:05 -07:00
probablycorey
9a839045e5 Merge remote-tracking branch 'origin/master' into cj-make-packages-async 2013-10-16 10:51:34 -07:00
probablycorey
af8ecef30d Add 'Sync' to end of Project's synchronous open methods
Remove 'Async' from Project's asynchronous open methods
2013-10-15 09:45:43 -07:00
Kevin Sawicki
7b3101778b Use path.join for benchmark fixtures path 2013-10-14 21:44:57 -07:00
probablycorey
92c6ad66eb Rename Project::open to Project::openSync
…and Project::openAsync to Project::open
2013-10-11 10:57:09 -07:00
Ben Ogle
2cee400547 More benchmarks 2013-10-07 14:56:29 -07:00
Ben Ogle
964e88f131 Add benchmark for the gutter api fns 2013-10-07 13:55:04 -07:00
Kevin Sawicki
9f7b430c02 Show window in benchmark bootstrap 2013-10-07 13:30:07 -07:00
Ben Ogle
7f9ce094c7 Add only window import so the benchmarks run 2013-10-07 10:29:01 -07:00
Ben Ogle
87687036cb Add benchmark for empty() vs innerHTML = '' 2013-10-07 10:28:12 -07:00
Ben Ogle
bd8c14355c Move regexes out into variables 2013-10-07 10:28:12 -07:00
Ben Ogle
156b6a9490 Make wrapCharacters -> escapeString. Use a regex.
The `htmlForScreenRows` benchmark went from ~3.5 ms to ~2.9ms for a 
call to htmlForScreenRows over the entire screen range.

🐎
2013-10-07 10:28:11 -07:00
Ben Ogle
407ccc4819 Get a few benchmarks in there 2013-10-07 10:28:11 -07:00
Ben Ogle
8463c759b5 Use global range. Faster! Less garbage! 2013-10-07 10:28:11 -07:00
Ben Ogle
8ab8201020 More benchmarks for text rendering 2013-10-07 10:28:10 -07:00
Ben Ogle
303124f1dd Add benchmarks for text rendering 2013-10-07 10:28:10 -07:00
Ben Ogle
875f0ca1e5 Get benchmarks running again: Fix imports. 2013-10-07 10:28:09 -07:00
Kevin Sawicki
dc8fae12b6 Create new Atom class in spec/benchmark bootstraps 2013-10-02 13:40:33 -07:00
Kevin Sawicki
05ce975ab4 Use relative path to atom require 2013-09-20 10:03:01 -07:00
Kevin Sawicki
c7a0a4bcd9 Use relative require paths in specs 2013-09-20 10:02:19 -07:00
Corey Johnson
2eb3b7bf35 Always open dev tools before benchmarks are run
Otherwise profiles aren't generated.
2013-09-10 14:51:09 -07:00
Corey Johnson
249044e754 Add application:run-benchmarks command 2013-09-10 14:51:09 -07:00
Nathan Sobo
cfe5bb1b02 Get benchmark-suite running again 2013-08-18 10:20:20 -06:00
Kevin Sawicki
f766bbbb38 Remove Point and Range classes now provided by telepath 2013-07-05 12:53:50 -07:00
Corey Johnson & Kevin Sawicki
bcc16fbefe Remove hash params from url
Load settings are now stored on the browser window.
2013-06-11 11:17:16 -07:00
Nathan Sobo
6104927cb6 Rename Project.buildEditSession -> Project.open 2013-05-14 20:03:53 -06:00
Nathan Sobo
6c43fd5c9d Set up dev tools event handler when binding default keys 2013-04-26 15:32:47 -07:00
Nathan Sobo
f03b6207de Make all requires of 'fs-utils' assign to fsUtils var instead of fs 2013-04-03 12:01:37 -06:00
Kevin Sawicki & Nathan Sobo
501dc9b76c Merge remote-tracking branch 'origin/master' into cefode
Conflicts:
	native/v8_extensions/native.mm
	spec/app/config-spec.coffee
	spec/app/window-spec.coffee
	spec/spec-helper.coffee
	spec/stdlib/fs-utils-spec.coffee
	src/app/atom-package.coffee
	src/app/config.coffee
	src/app/window.coffee
	src/packages/fuzzy-finder/lib/load-paths-handler.coffee
	src/packages/markdown-preview/lib/markdown-preview-view.coffee
	src/packages/tree-view/spec/tree-view-spec.coffee
	src/stdlib/require.coffee
2013-03-20 10:46:50 -06:00
Kevin Sawicki & Nathan Sobo
1d1ba5f6d1 Use node's require instead of internal require 2013-03-12 10:38:05 -07:00
Kevin Sawicki
2212222c47 Use underscore node module 2013-03-11 11:22:36 -07:00
Justin Palmer
0624ba6d3f rename remaining static css files to less 2013-03-11 10:02:19 -07:00
Nathan Sobo
beaeac4425 Rename buildEditSessionForPath to buildEditSession
Since this is the more external method, having a shorter name
is more convenient. The former `buildEditSession` method took a
Buffer, and is now called `buildEditSessionForBuffer`.
2013-03-07 09:28:51 -08:00
Corey Johnson & Nathan Sobo
0b5ea8578f Eliminate rootView.project references. 2013-02-19 18:26:50 -07:00
Nathan Sobo
5b3755a170 Fix errors in benchmarks
One notable change is that if the editor has a display update pending,
we wait until it completes before moving on to the next benchmark.
2013-02-06 18:01:32 -07:00