-
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
introduce logic for shared native module queue #41042
Conversation
This pull request was exported from Phabricator. Differential Revision: D50398635 |
95eb1de
to
b673ee8
Compare
This pull request was exported from Phabricator. Differential Revision: D50398635 |
Base commit: 28d7ade |
b673ee8
to
c0b1b16
Compare
Summary: Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Differential Revision: D50398635
This pull request was exported from Phabricator. Differential Revision: D50398635 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D50398635 |
Summary: Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Reviewed By: cipolleschi Differential Revision: D50398635
Summary: Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Reviewed By: cipolleschi Differential Revision: D50398635
aeaef60
to
7a60c0b
Compare
This pull request was exported from Phabricator. Differential Revision: D50398635 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D50398635 |
7a60c0b
to
1e7883e
Compare
Summary: Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Reviewed By: cipolleschi Differential Revision: D50398635
This pull request was exported from Phabricator. Differential Revision: D50398635 |
Summary: Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Reviewed By: cipolleschi Differential Revision: D50398635
1e7883e
to
550fc3a
Compare
This pull request was successfully merged by @philIip in a337fca. When will my fix make it into a release? | Upcoming Releases |
Summary: Pull Request resolved: facebook#41042 Changelog: [Internal] currently, each native module creates a new module queue if `methodQueue` is not overridden in the native module. we want to see if we can use a single execution queue for a few reasons: - parity with android's queue model - performance: creating so many queues... for what? the overhead of this feels like it exceeds any potential benefit - set us up to remove the assocs from the module to the method queue, which will allow us to deprecate `synthesize methodQueue` and `-(dispatch_queue_t)moduleQueue` API. in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue. Reviewed By: cipolleschi Differential Revision: D50398635 fbshipit-source-id: 0b194a5ae5269e843c7c537a973ee1d345ce1df4
Summary:
Changelog: [Internal]
currently, each native module creates a new module queue if
methodQueue
is not overridden in the native module.we want to see if we can use a single execution queue for a few reasons:
synthesize methodQueue
and-(dispatch_queue_t)moduleQueue
API.in this QE, we just start with replacing the KVO assoc'd queue with the shared module queue.
Differential Revision: D50398635