fix: benchmark output

This commit is contained in:
Hugo Pointcheval 2022-05-25 15:43:51 +02:00
parent 2ed8aab69f
commit 0bb6aa4b78
Signed by: hugo
GPG Key ID: A9E8E9615379254F
4 changed files with 10 additions and 8 deletions

View File

@ -19,4 +19,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b
COCOAPODS: 1.10.1
COCOAPODS: 1.11.3

View File

@ -43,5 +43,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>

View File

@ -3,7 +3,7 @@
// -----
// File: benchmark_page.dart
// Created Date: 28/12/2021 15:12:39
// Last Modified: 24/05/2022 23:43:59
// Last Modified: 25/05/2022 15:26:42
// -----
// Copyright (c) 2021
@ -107,7 +107,7 @@ class BenchmarkPage extends ConsumerWidget {
after.millisecondsSinceEpoch - before.millisecondsSinceEpoch;
benchmarkStatus.append('[$size MB] Encryption took $benchmark ms\n');
csv += "$benchmark";
csv += "$benchmark;";
cryptoTime += benchmark;
// Decryption
@ -188,10 +188,6 @@ class BenchmarkPage extends ConsumerWidget {
() => _benchmark(ref, cipher, usePc: true),
"PointyCastle",
),
Button(
_clear,
"Clear",
),
],
),
Row(
@ -201,6 +197,10 @@ class BenchmarkPage extends ConsumerWidget {
() => _benchmarkEncryptionOnly(ref, cipher),
"NC Persistence",
),
Button(
_clear,
"Clear",
),
],
),
],

View File

@ -3,7 +3,7 @@
// -----
// File: aes.dart
// Created Date: 16/12/2021 16:28:00
// Last Modified: 25/05/2022 10:44:25
// Last Modified: 25/05/2022 15:40:07
// -----
// Copyright (c) 2022