Bug 788888 - Increase the default profile size to 1 million entries. r=ehsan
authorBenoit Girard <b56girard@gmail.com>
Thu, 06 Sep 2012 01:21:03 -0400
changeset 104367 5f8055d8dde1cda9ed9672e3ac0974faa4042855
parent 104366 5d63594c05a9fa801fbbbc8adb38946d8fb77970
child 104368 0c4fa25f637ba230081d9fca316acc063187e6b2
push id23419
push userb56girard@gmail.com
push dateThu, 06 Sep 2012 05:21:47 +0000
treeherdermozilla-central@5f8055d8dde1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs788888
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 788888 - Increase the default profile size to 1 million entries. r=ehsan
tools/profiler/sps_sampler.h
--- a/tools/profiler/sps_sampler.h
+++ b/tools/profiler/sps_sampler.h
@@ -71,17 +71,17 @@ extern bool stack_key_initialized;
 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
 #define V8_HOST_ARCH_IA32 1
 #elif defined(__ARMEL__)
 #define V8_HOST_ARCH_ARM 1
 #else
 #warning Please add support for your architecture in chromium_types.h
 #endif
 
-#define PROFILE_DEFAULT_ENTRY 100000
+#define PROFILE_DEFAULT_ENTRY 1000000
 #ifdef ANDROID
 // We use a lower frequency on Android, in order to make things work
 // more smoothly on phones.  This value can be adjusted later with
 // some libunwind optimizations.
 // In one sample measurement on Galaxy Nexus, out of about 700 backtraces,
 // 60 of them took more than 25ms, and the average and standard deviation
 // were 6.17ms and 9.71ms respectively.