Commit Graph
35 Commits
Author SHA1 Message Date
Philip Peitsch fa1c7869c2 Re-enable direct text styling in benchmark 2014-06-12 22:51:49 +10:00
Philip Peitsch 454bb9fe58 Fix SessionView constructor arguments in benchmark 2014-06-12 22:46:47 +10:00
Friedrich W. H. Kossebau 8c350e927b Add license header also to all CSS and big test data xml files 2014-06-03 12:37:12 +02:00
Friedrich W. H. Kossebau 7f80e8e163 Normalize license headers of editor/benchmark/tests/firefox-addon/viewer source files
* remove @license tag, for consistency with library source files
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released stuff
* separate license header by empty line from following content
2014-06-02 17:49:46 +02:00
Philip Peitsch cd8bf92832 Suppress manual task processing to prevent skewing of benchmark figures
Manually processing the redraw tasks vastly affects the current benchmark
results, dwarfing impacts from most other subsystems. Disabling this for
now to aid tuning of non-UI components.
2014-05-16 21:28:46 +10:00
Friedrich W. H. Kossebau 97ff04b0a7 make Webodf version a global property on the new namespace webodf 2014-04-11 15:05:07 +02:00
Philip Peitsch 4c87f29a0b Make element variable names more consistent 2014-02-28 01:33:32 +11:00
Philip Peitsch 4f0d00e868 Make benchmark UI slightly more colourful 2014-02-28 01:32:12 +11:00
Philip Peitsch 8c68d5d121 Output the webodf version the benchmark is running against 2014-02-28 01:32:11 +11:00
Philip Peitsch 22877e576f Add pages per hour and kilometres per hour as benchmark units 2014-02-28 01:32:11 +11:00
Philip Peitsch 0545f86dc4 Add benchmark hooks for calculating document distance travelled 2014-02-28 01:30:45 +11:00
Philip Peitsch c225ba36f9 Add multi-letter insertion at doc start to benchmark (post-cache prime) 2014-02-20 21:24:41 +11:00
Friedrich W. H. Kossebau 7f20c22627 Set runtime.currentDirectory/libraryPaths in faked webodf.js for out-of-source runs
Frees "production" code from adjustments for out-of-source developer code
2014-02-17 17:19:46 +01:00
Friedrich W. H. Kossebau cb691213e6 No longer cursor insertion in SessionController.startEditing, fix cursor removal where missing 2014-02-12 01:22:26 +01:00
Philip Peitsch eb3d8aefbf Batch up calls that refresh the canvas CSS, size or annotations
These calls are UI render-related operations, and don't need to be done
immediately after every operation. Batching these up and doing them all
once after all ops are processed greatly improves the performance of
paragraph alignment updates with multiple paragraphs selected.
2014-02-05 22:53:37 +11:00
Philip Peitsch ae0c695971 Add paragraph alignment to the benchmark
This is disabled by default because it is very very slow (8s @ 10pages)
2014-02-05 22:53:36 +11:00
Friedrich W. H. Kossebau d2671e2a00 @returns -> @return 2014-01-31 15:33:43 +01:00
Philip Peitsch bb8daa3a9c Activate the undo manager in the performance benchmark 2014-01-24 10:22:20 +11:00
Philip Peitsch 6a7841d20e Allow background colour in benchmark to be set in the URL
Having different coloured results makes it easier to distinguish between
active instances of a benchmark (e.g., master + branch).
2014-01-24 10:22:20 +11:00
Philip Peitsch 678cc4c36c Redesign benchmark to be more usable on small screens (e.g., mobiles) 2014-01-23 23:55:09 +11:00
Philip Peitsch 23e2a7bd79 Remove non-useful benchmark step
Non-automated steps in a mostly automated benchmark is not the best
idea I ever had...
2014-01-23 23:55:09 +11:00
Philip Peitsch d92d02e510 Add bulk-operation benchmark steps
Add repeated insert, remove and move steps to see how behaviour scales.
2014-01-23 23:55:08 +11:00
lli 32f148930a Preserve the text style when splitting at the end of paragraph.
At the moment, splitting at the end of the following paragraph
<p style-name="standard">hello <span style-name="bold">world|</span></p>
will create a new paragraph like below
<p style-name="standard">|<span style-name="bold"></span></p>

The cursor is moved out of the span due to empty span is not considered as
a valid cursor position in the current design. this causes newly entered
text are not formatted correctly.

Merged DirectTextStyler and DirectParagraphStyler into
DirectFormattingController. These have become closely related concepts as
a result of changes in this patch.
2014-01-20 22:32:24 +11:00
Aditya Bhatt 6921bffe71 Rename TextManipulator to TextController 2014-01-15 13:37:47 +05:30
Philip Peitsch 3f2b2f0fb9 Support different selection view renderers
In certain cases it is useful to be able to swap out the technique used
to render cursor selections on the document. For example, SVG polygon
based rendering interacts badly with mouse events on the WebKit build
shipped on MacOS X 10.7.5.
2013-12-19 01:55:51 +11:00
lli 66e25e096d Move selection related operations into the new SelectionController.js 2013-12-18 23:26:30 +11:00
Philip Peitsch 2ec3d857ec Re-implement the selection commands using new StepsTranslator interfaces
This re-implementation also addresses problems when navigating passed
annotations as identified in issue #65 & #65.

This also fixes a large performance issue with extending or moving the
cursor via short-cut keys.
2013-12-11 00:50:25 +11:00
Philip Peitsch 085f4c2adc Add an apply direct formatting benchmark action
Additionally, the benchmark will now take configuration options via the
query parameters rather than after the hash.
2013-12-06 01:27:20 +11:00
Philip Peitsch 5db32daa9d Ensure expand to word and paragraph boundaries keep selection direction
SessionController had some internal confusion about whether to work in
selection or range+bool. This cleans these up to ensure the direction is
properly preserved throughought.
2013-11-30 00:58:51 +11:00
Philip Peitsch 4d1c51feb4 Isolate document download speed from open speed in benchmark 2013-11-22 00:47:38 +11:00
Philip Peitsch 09d16af16b Provide a sourceURL for runtime.js in all programs 2013-11-21 23:41:40 +11:00
Philip Peitsch 0a707b9129 Add required member information to benchmark 2013-11-21 21:35:06 +11:00
Philip Peitsch bbf92720db Add missing constructor docs 2013-11-21 11:43:39 +11:00
Philip Peitsch 9b95f7762b Use SIMPLE_OPTIMIZATIONS when building html-benchmark 2013-11-21 11:43:39 +11:00
Philip Peitsch d6f6437c27 Moved from programs/benchmarking to programs/benchmark 2013-11-21 11:43:39 +11:00