react-native-benchmark
Version:
React Native benchmarking library inspired by benchmark.js
15 lines (14 loc) • 364 B
TypeScript
import { Benchmark } from "./benchmark";
import { Suite } from "./suite";
export declare enum EventType {
ABORT = "abort",
START = "start",
CYCLE = "cycle",
COMPLETE = "complete",
ERROR = "error"
}
export declare class Event {
type: EventType;
target?: Benchmark | Suite;
constructor(type: EventType, target?: Benchmark | Suite);
}