Improve backup export benchmark measurement
This commit is contained in:
parent
2e886235fa
commit
45e9c07125
7 changed files with 67 additions and 41 deletions
3
ts/CI.ts
3
ts/CI.ts
|
@ -11,6 +11,7 @@ import { explodePromise } from './util/explodePromise';
|
|||
import { AccessType, ipcInvoke } from './sql/channels';
|
||||
import { backupsService } from './services/backups';
|
||||
import { AttachmentBackupManager } from './jobs/AttachmentBackupManager';
|
||||
import { migrateAllMessages } from './messages/migrateMessageData';
|
||||
import { SECOND } from './util/durations';
|
||||
import { isSignalRoute } from './util/signalRoutes';
|
||||
import { strictAssert } from './util/assert';
|
||||
|
@ -35,6 +36,7 @@ export type CIType = {
|
|||
}
|
||||
) => unknown;
|
||||
openSignalRoute(url: string): Promise<void>;
|
||||
migrateAllMessages(): Promise<void>;
|
||||
uploadBackup(): Promise<void>;
|
||||
unlink: () => void;
|
||||
print: (...args: ReadonlyArray<unknown>) => void;
|
||||
|
@ -192,6 +194,7 @@ export function getCI({ deviceName }: GetCIOptionsType): CIType {
|
|||
solveChallenge,
|
||||
waitForEvent,
|
||||
openSignalRoute,
|
||||
migrateAllMessages,
|
||||
uploadBackup,
|
||||
unlink,
|
||||
getPendingEventCount,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue