Skip to content

Commit ebb1180

Browse files
committed
Remove unused var
1 parent 0a1ef95 commit ebb1180

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/performance/encode_decode.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,10 @@ void main() {
8282
'jsonapi': {'version': '1.0', 'meta': meta}
8383
};
8484

85-
Object j;
86-
8785
final count = 100000;
8886
final start = DateTime.now().millisecondsSinceEpoch;
8987
for (var i = 0; i < count; i++) {
90-
j = Document.fromJson(json, ResourceCollectionData.fromJson).toJson();
88+
Document.fromJson(json, ResourceCollectionData.fromJson).toJson();
9189
}
9290
final stop = DateTime.now().millisecondsSinceEpoch;
9391
print('$count iterations took ${stop - start} ms');

0 commit comments

Comments
 (0)