Open History to see the last commit
1export interface ClientMemoryWorkload {
2 name: string
3 before?: () => Promise<void> | void
4 /**
5 * Must be an `async` function: CodSpeed's Vitest 5 provider awaits only
6 * `AsyncFunction`s and otherwise measures just the synchronous part.
7 */
8 run: () => Promise<void> | void
9 sanity: () => Promise<void> | void
10 after?: () => Promise<void> | void
11}