Skip to content

Commit 78660a5

Browse files
nshahanCommit Queue
authored andcommitted
[benchmark] Cleanup lint violations
Fix violations of lints that I expect have no influence on the performance characteristics of this benchmark: * directives_ordering Change-Id: I3aa77c9351507a54dfb1b5e3a8295cea3fc66540 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433269 Commit-Queue: Nicholas Shahan <[email protected]> Reviewed-by: Ömer Ağacan <[email protected]>
1 parent ec8864f commit 78660a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/WasmDataTransfer/dart/WasmDataTransfer.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
import 'dart:js_interop';
65
import 'dart:convert';
6+
import 'dart:js_interop';
77
import 'dart:typed_data';
88

99
import 'package:benchmark_harness/benchmark_harness.dart';
@@ -76,7 +76,7 @@ class WasmDataTransferFromBrowserString extends Benchmark {
7676
// But currently we use internal one/two byte strings and using string
7777
// interpolation forces transfer of string to be internal string.
7878
//
79-
// Though string interpolation also causes other work (it convers JS string
79+
// Though string interpolation also causes other work (it converts JS string
8080
// to dart and then allocates new string for interpolation result)
8181
use('a${jsonString.toDart}');
8282
}

0 commit comments

Comments
 (0)