-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsSchedulingOverhead warnings #1598
Comments
What it means is that the start date passed on the timer creation ( |
How can I not worry about though warrnings obscure a half of screen and I can't disable them... |
I don't know if you realise, but this issue is from 6 months ago, and at the time there were no YellowBox, but yes, you can disable them, try: console.ignoreYellowBox = ['jsSchedulingOverhead']; @nicklockwood maybe we should remove this warning? |
@tadeuzagallo I've no context on what this warning means, but it seems very spammy. Maybe YellowBox should have an upper limit on warnings displayed at once? |
@tadeuzagallo looks like it's console.ignoredYellowBox not console.ignoreYellowBox |
This warning is clogging up my Chrome console, repeating indefinitely and obscuring all relevant console logs. Is there any way around this except changing the computer's cloclk? |
+1 This is happening to me too, and making debugging while running on a device impossible. Why is this request closed? We need a way to disable these warnings in Chrome/Xcode too. It's clearly affecting a bunch of other people, cf: root-two/react-native-drawer#44, #2046, react-native-camera/react-native-camera#32, #5136 etc. Thanks |
Temporary workaround: comment out line 179 of React/Modules/RCTTiming.m |
+1 |
Re-opening because this is a common problem when developing on a device. |
+1 |
+1. Seems commenting out that line is the only effective way to remove the warning. by @lrettig #1598 (comment) |
+1 |
1 similar comment
+1 |
I agree with everyone that this is an annoying issue developing on a device. I've pushed a possible fix in #5731, will try to poke some people at Facebook to review the change. |
@lrettig your commenting out method works well |
+1 |
1 similar comment
+1 |
Wow this is a year old simple issue and still has no progress! |
Summary:This commit modifies the jsSchedulingOverhead warning to only fire if the JS clock is more than 5 seconds ahead of the native clock. This fixes the issue in #1598 for the common case when there's only a minor difference between the two clocks, while still keeping a sanity check if they're extremely off. cc nicklockwood tadeuzagallo Closes #5731 Differential Revision: D3014985 Pulled By: tadeuzagallo fb-gh-sync-id: bf57e48b7d97ad02d2aefb6e5aac845824a6fdb0 shipit-source-id: bf57e48b7d97ad02d2aefb6e5aac845824a6fdb0
Warning removed in 2d27cf0. Sorry that took so long! |
Summary:This commit modifies the jsSchedulingOverhead warning to only fire if the JS clock is more than 5 seconds ahead of the native clock. This fixes the issue in facebook#1598 for the common case when there's only a minor difference between the two clocks, while still keeping a sanity check if they're extremely off. cc nicklockwood tadeuzagallo Closes facebook#5731 Differential Revision: D3014985 Pulled By: tadeuzagallo fb-gh-sync-id: bf57e48b7d97ad02d2aefb6e5aac845824a6fdb0 shipit-source-id: bf57e48b7d97ad02d2aefb6e5aac845824a6fdb0
I'm quite embarrassed to say that I'm finally getting around to debugging my JSX code on the phone.
I'm getting these jsSchedulingOverhead warnings:
Should I be worried? Could it be caused by the fact that I'm debugging w/ chrome?
The text was updated successfully, but these errors were encountered: