Skip to content

Commit 29149eb

Browse files
chore(ios profiler): set same polling interval than android
1 parent bb407cb commit 29149eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/platforms/ios/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ export class IOSProfiler implements Profiler {
6868
pollPerformanceMeasures(bundleId: string, options: ProfilerPollingOptions): { stop: () => void } {
6969
this.onMeasure = options.onMeasure;
7070
const cpuAndMemoryPolling = exec(
71-
`pyidevice instruments appmonitor --format=flush -b ${bundleId} --time 10`
71+
`pyidevice instruments appmonitor --format=flush -b ${bundleId} --time 500`
7272
);
7373

74-
const fpsPolling = exec(`pyidevice instruments fps --format=flush --time 100`);
74+
const fpsPolling = exec(`pyidevice instruments fps --format=flush --time 500`);
7575

7676
this.parseData(cpuAndMemoryPolling, "cpu");
7777
this.parseData(fpsPolling, "fps");

0 commit comments

Comments
 (0)