File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ import 'package:dartoos/dartoos.dart';
1010/// ```dart /example/base64_benchmark.dart```
1111///
1212/// or
13- ///
13+ ///
1414/// Compile to 'jit'.
1515/// ```dart compile jit-snapshot example/base64_benchmark.dart```
1616/// ```dart /example/base64_benchmark.jit```
1717Future <void > main () async {
1818 print ("Dartoos base64 vs. Dart's built-in base64..." );
1919
20- const wordLength = 15000000 ; const elegibleChars =
20+ const wordLength = 15000000 ;
21+ const elegibleChars =
2122 r'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-*/|\;:?[]{}()!@#$%*' ;
2223 // The bytes of a randomly generated word whose length is [wordLength]
2324 // characters.
@@ -43,10 +44,10 @@ Future<void> main() async {
4344 final dartoosDecodingTime =
4445 DateTime .now ().millisecondsSinceEpoch - dartoosDecodingStart;
4546
46- print ('\n --- Encoding elapsed times ---' );
47+ print ('\n --- Encoding elapsed times ---' );
4748 print ('Dartoos base64-encoding: $dartoosEncodingTime ms' );
4849 print ('Builtin base64-encoding: $dartEncodingTime ms' );
49- print ('\n --- Decoding elapsed times ---' );
50+ print ('\n --- Decoding elapsed times ---' );
5051 print ('Dartoos base64-decoding: $dartoosDecodingTime ms' );
5152 print ('Builtin base64-decoding: $dartDecodingTime ms' );
5253 print ('\n --- Encoding/decoding results comparison ---' );
You can’t perform that action at this time.
0 commit comments