Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2021-04-02 22:16:27 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2021-04-02 22:16:27 -0300
Commit
8097ab406b50827d3b09fe0b275cdddf756304cf
8097ab40
2 parents
9312b0a6
b407574c
Merge pull request #1251 from RafaRuiz/fix/typo
Typo
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
test/benchmarks/benckmark_test.dart
test/benchmarks/benckmark_test.dart
View file @
8097ab4
...
...
@@ -149,7 +149,7 @@ referenceValue is ${calculePercentage(referenceValue, requestedValue)}% more tha
print
(
'GetValue delay
$getx
ms to made
$times
requests'
);
print
(
'-----------'
);
print
(
'''
GetValue is
${calculePercentage(dart, getx).round()}
%
more fast
than Default ValueNotifier with
$times
requests'''
);
GetValue is
${calculePercentage(dart, getx).round()}
%
faster
than Default ValueNotifier with
$times
requests'''
);
});
test
(
'run benchmarks from Streams'
,
()
async
{
...
...
@@ -162,7 +162,7 @@ GetValue is ${calculePercentage(dart, getx).round()}% more fast than Default Val
var
dart
=
await
stream
();
print
(
'-----------'
);
print
(
'''
GetStream is
${calculePercentage(dart, mini).round()}
%
more fast
than Default Stream with
$times
requests'''
);
GetStream is
${calculePercentage(dart, mini).round()}
%
faster
than Default Stream with
$times
requests'''
);
print
(
'-----------'
);
times
=
30000
;
...
...
@@ -180,7 +180,7 @@ GetStream is ${calculePercentage(dart, mini).round()}% more fast than Default St
print
(
'getx_mini_stream delay
$mini
ms to made
$times
requests'
);
print
(
'-----------'
);
print
(
'''
GetStream is
${calculePercentage(dart, mini).round()}
%
more fast
than Default Stream with
$times
requests'''
);
GetStream is
${calculePercentage(dart, mini).round()}
%
faster
than Default Stream with
$times
requests'''
);
});
}
...
...
Please
register
or
login
to post a comment