Skip to content

Commit

Permalink
Move start of raw text perf measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
tombh committed Jun 26, 2018
1 parent 642fd83 commit 1bbe912
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions webext/src/dom/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class extends utils.mixins(CommonMixin, CommandsMixin) {
this.dimensions,
this.graphics_builder
);
this.text_builder._raw_text_start = performance.now();
}

sendFrame() {
Expand Down
1 change: 0 additions & 1 deletion webext/src/dom/text_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export default class extends utils.mixins(CommonMixin, SerialiseMixin) {
}

sendRawText(type) {
this._raw_text_start = performance.now();
this._raw_mode_type = type;
// TODO:
// The presence of the `getScreenshotWithText()` and `setTimeout()` calls are a hack
Expand Down

0 comments on commit 1bbe912

Please sign in to comment.