Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Increase memory sample rate.

Summary:
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: http://phabricator.khanacademy.org/D10577
  • Loading branch information...
commit 8db7eb12a452bdc3200f19d4e860dcd3150ca36f 1 parent 6a853a9
@benjaminjkraft benjaminjkraft authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  profiler.py
View
2  profiler.py
@@ -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)
else:
self.sampling_prof = sampling_profiler.Profile()
result_fxn_wrapper = self.sampling_prof.run
Please sign in to comment.
Something went wrong with that request. Please try again.