Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
b0610be3
Unverified
Commit
b0610be3
authored
Apr 10, 2020
by
Mouad Debbar
Committed by
GitHub
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[web] Don't collect trace info in the color grid benchmark (#54396)
parent
bb02f40c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
bench_text_layout.dart
...hmarks/macrobenchmarks/lib/src/web/bench_text_layout.dart
+10
-0
No files found.
dev/benchmarks/macrobenchmarks/lib/src/web/bench_text_layout.dart
View file @
b0610be3
...
...
@@ -215,6 +215,16 @@ class BenchBuildColorsGrid extends WidgetBuildRecorder {
BenchBuildColorsGrid
.
canvasKit
()
:
mode
=
_TestMode
.
useCanvasKit
,
super
(
name:
canvasKitBenchmarkName
);
/// Disables tracing for this benchmark.
///
/// When tracing is enabled, DOM layout takes longer to complete. This has a
/// significant effect on the benchmark since we do a lot of text layout
/// operations that trigger synchronous DOM layout.
///
/// Tracing has a negative effect only in [_TestMode.useDomTextLayout] mode.
@override
bool
get
isTracingEnabled
=>
false
;
static
const
String
domBenchmarkName
=
'text_dom_color_grid'
;
static
const
String
canvasBenchmarkName
=
'text_canvas_color_grid'
;
static
const
String
canvasKitBenchmarkName
=
'text_canvas_kit_color_grid'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment