Skip to content

Commit c5681af

Browse files
thymikeeclaude
andcommitted
refactor(platform-apple): drop the unimported perf-target forwarders from the perf facade
readAppleProcessSamples, resolveAppleExecutable and resolveIosDevicePerfTarget had no importer through @agent-device/platform-apple/perf; perf.ts and perf-xctrace.ts load perf-target.ts directly. The package is private and the async forwarders were added on this unreleased branch, so remove them and their .fallowrc.json entries instead of keeping them alive by allowlist. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent bb0b277 commit c5681af

2 files changed

Lines changed: 0 additions & 24 deletions

File tree

‎.fallowrc.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@
115115
"isRetryableIosDeviceTraceRecordFailure",
116116
"resolveIosDevicePerfHint",
117117
"captureAppleMemorySnapshot",
118-
"readAppleProcessSamples",
119-
"resolveAppleExecutable",
120-
"resolveIosDevicePerfTarget",
121118
"sampleAppleFramePerf",
122119
"sampleAppleMemoryPerf",
123120
"cleanupAppleXctracePerfCapture",

‎packages/platform-apple/src/perf-facade.ts‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,6 @@ export {
66
sampleAppleFramePerf,
77
sampleAppleMemoryPerf,
88
} from './core/perf.ts';
9-
export async function readAppleProcessSamples(
10-
...args: Parameters<(typeof import('./core/perf-target.ts'))['readAppleProcessSamples']>
11-
): ReturnType<(typeof import('./core/perf-target.ts'))['readAppleProcessSamples']> {
12-
const { readAppleProcessSamples: run } = await import('./core/perf-target.ts');
13-
return run(...args);
14-
}
15-
16-
export async function resolveAppleExecutable(
17-
...args: Parameters<(typeof import('./core/perf-target.ts'))['resolveAppleExecutable']>
18-
): ReturnType<(typeof import('./core/perf-target.ts'))['resolveAppleExecutable']> {
19-
const { resolveAppleExecutable: run } = await import('./core/perf-target.ts');
20-
return run(...args);
21-
}
22-
23-
export async function resolveIosDevicePerfTarget(
24-
...args: Parameters<(typeof import('./core/perf-target.ts'))['resolveIosDevicePerfTarget']>
25-
): ReturnType<(typeof import('./core/perf-target.ts'))['resolveIosDevicePerfTarget']> {
26-
const { resolveIosDevicePerfTarget: run } = await import('./core/perf-target.ts');
27-
return run(...args);
28-
}
29-
309
export {
3110
cleanupAppleXctracePerfCapture,
3211
isRetryableIosDeviceTraceRecordFailure,

0 commit comments

Comments
 (0)