import { Timer, Profiler, enableProfiling, formatDuration, formatBytes,} from '@dotsetlabs/cli';// Enable global profilingenableProfiling();// Time a specific operationconst timer = new Timer();timer.start();await scanLargeFile();timer.stop();console.log(`Scan took: ${formatDuration(timer.elapsed())}`);// Use profiler for detailed metricsconst profiler = new Profiler('scan-operation');profiler.start('pattern-matching');// ... pattern matchingprofiler.end('pattern-matching');profiler.start('entropy-analysis');// ... entropy analysisprofiler.end('entropy-analysis');console.log(profiler.getReport());