feat: Add support for the upsert and upsertRow ORM methods (#94)
This commit is contained in:
parent
c6a873d04c
commit
467df68a69
1 changed files with 796 additions and 19 deletions
|
|
@ -11,7 +11,7 @@ void printPerformanceImpact(
|
|||
}) {
|
||||
print(
|
||||
'${runningInCI ? '```' : ''}'
|
||||
'\n📊 ${results.operation.name.toUpperCase()} performance impact:',
|
||||
'\n📊 ${results.operation.label.toUpperCase()} performance impact:',
|
||||
);
|
||||
final baselineTime = results.baseline;
|
||||
final crdtTime = results.crdt;
|
||||
|
|
@ -27,7 +27,7 @@ void printPerformanceImpact(
|
|||
print(' Time: $baselineDelay --> $crdtDelay ($runDelay)');
|
||||
print(' CRDT overhead: ${formatter2.format(slowdown)}% slower');
|
||||
if (results.operation != Operation.select) {
|
||||
print(' Delay per ${results.operation.name}: $runDelayPerOperation');
|
||||
print(' Delay per ${results.operation.label}: $runDelayPerOperation');
|
||||
}
|
||||
if (runningInCI) print('```');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue