profiling.d.ts 459 B

123456789101112131415161718
  1. import { Feature } from '../featureManager';
  2. export interface ProfilerType {
  3. init(): void;
  4. register(): void;
  5. destroy(): void;
  6. }
  7. export declare class ProfilingConfig {
  8. cpuJS: boolean;
  9. heapSnapshot: boolean;
  10. heapSampling: boolean;
  11. implementation?: string;
  12. }
  13. export declare class ProfilingFeature implements Feature {
  14. private profiler;
  15. private logger;
  16. init(config?: ProfilingConfig | boolean): any;
  17. destroy(): void;
  18. }