Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e742487

Browse files
committed
Bigger buffer size for C profiler (if profiling is enabled).
1 parent fac3008 commit e742487

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Python/macmain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ init_common(int *argcp, char ***argvp, int embedded)
269269
}
270270
#if __profile__ == 1
271271
/* collectSummary or collectDetailed, timebase, #routines, max stack depth */
272-
ProfilerInit(collectSummary, bestTimeBase, 2000, 150);
272+
ProfilerInit(collectSummary, bestTimeBase, 8000, 250);
273273
#endif
274274

275275
/* Tell the rest of python about our argc/argv */

0 commit comments

Comments
 (0)