Browse files

Increase memory sample rate.

The google.appengine.api.runtime API is faster than I thought, so it should be
fine to bump up our sample rate.  This will increase the overhead a bit but
also give more useful data.

Test Plan: Load the homepage with the memory sampling profiler enabled.

Reviewers: alan

Reviewed By: alan

Differential Revision:
  • Loading branch information...
1 parent 6a853a9 commit 8db7eb12a452bdc3200f19d4e860dcd3150ca36f @benjaminjkraft benjaminjkraft committed Jun 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -443,7 +443,7 @@ def profile_start_response(self, app, environ, start_response):
from . import sampling_profiler
if Mode.is_memory_sampling_enabled(self.mode):
self.sampling_prof = sampling_profiler.Profile(
- memory_sample_rate=5)
+ memory_sample_rate=25)
self.sampling_prof = sampling_profiler.Profile()
result_fxn_wrapper =

0 comments on commit 8db7eb1

Please sign in to comment.