mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Increase Hermes Sampling rate to 10kHz (#49795)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49795 # Changelog: [Internal] I've been able to reliably and consistently record samples with an interval between 2 consecutive ones to be ~0.1-0.2ms, lets bump the sampling frequency to have more frames. On Windows, Hermes Sampler peaks at ~500Hz, so this won't have much effect. Reviewed By: huntie Differential Revision: D70395983 fbshipit-source-id: 9a9e619d75096a3ee75e0e1a2f8b8fff33130268
This commit is contained in:
committed by
Facebook GitHub Bot
parent
df4433c40e
commit
ed7dbce799
+1
-1
@@ -31,7 +31,7 @@ namespace facebook::react::jsinspector_modern {
|
||||
#ifdef HERMES_ENABLE_DEBUGGER
|
||||
namespace {
|
||||
|
||||
const uint16_t HERMES_SAMPLING_FREQUENCY_HZ = 1000;
|
||||
const uint16_t HERMES_SAMPLING_FREQUENCY_HZ = 10000;
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user