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
Rafa Ruiz
2021-03-29 02:58:05 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b407574c9267989eaf4e9461065561c7ee28a38c
b407574c
1 parent
26c3569a
Typo 'more fast'
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 @
b407574
...
...
@@ -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