Skip to content

Instantly share code, notes, and snippets.

View HarshaNalluru's full-sized avatar
Shining

Harsha Nalluru HarshaNalluru

Shining
View GitHub Profile
@HarshaNalluru
HarshaNalluru / PERF-FRAMEWORK-DESIGN-OPTIONS.md
Last active January 11, 2021 21:27
The perf framework design options being considered at #13125

Option-1

export abstract class PerfStressTest<TOptions = {}> {
  // Framework program.run() makes sure that it runs the method only if defined - what we have right now
  public globalSetup?(): void | Promise<void>;
  public globalCleanup?(): void | Promise<void>;

  public setup?(): void | Promise<void>;
  public cleanup?(): void | Promise<void>;