-
Notifications
You must be signed in to change notification settings - Fork 25k
Separate buffering per entry type in WebPerformance #36737
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
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: a48bf4d57bd08b34f33c2779d3bff80a96b824a1
ea539f7 to
50f85e8
Compare
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Base commit: 8b72c33 |
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: f987a3343501ed6ca069dbe2d494e6cc53fd5813
50f85e8 to
d5dfb3b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: 96b363f52f49245decd4fa67e8cc8488c89090ad
d5dfb3b to
83be7d9
Compare
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: 5a9ae54092f4852c22bc678decd36d61f2744428
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: c9fc75d29017eef33cfb549fd1a69b11b275c9b2
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: 7a610873017772a83172864c8ce2c50375184351
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Differential Revision: D44574241 fbshipit-source-id: ad40cd0bc7ec8f599251c46ed9d9e1b540e5cd79
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
…acebook#36726) Summary: Pull Request resolved: facebook#36726 ## Changelog: [Internal] - This implements (together with unit tests) a generic container type with the following properties: * It can only grow up to a specified max size * It's a circular buffer (the oldest elements are dropped if reached max size and adding a new element) * The entries can be "consumed" (once), which from the point of view of the consumer effectively clears the buffer * Even after the entries are consumed, all of the non-overwritten entries can still be independently retrieved an arbitrary amount of times The goal is to use it for buffering performance entries in the native WebPerformance implementation, where the model is that the performance entries should be both buffered/observable, but also for certain performance entry types (such as marks, measures and potentially certain event types) should be possible to retrieve all of them at any time (regardless of whether they have already been observed or not). In fact, this container is factoring that behavior, which is already there in `PerformanceEntryObserver` (but in an ad-hoc manner and only applicable to marks/measures), with the goal of being able to do it for any performance entry type. Differential Revision: https://internalfb.com/D44544057 fbshipit-source-id: 913b10ec996e8ddf707c87a3fbb97345219c4271
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Reviewed By: sammy-SC Differential Revision: D44574241 fbshipit-source-id: 9e7ca28227982d3440bce6eaaa6394a2788cc442
|
This pull request was exported from Phabricator. Differential Revision: D44574241 |
|
This pull request has been merged in 9504720. |
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Reviewed By: sammy-SC Differential Revision: D44574241 fbshipit-source-id: a858712ff1cf468914a80c99f6b82d060cb0b702
Summary: Pull Request resolved: facebook#36737 ## Changelog: [Internal] - Use `BoundedConsumableBuffer` in WebPerformance This makes use of the `BoundedConsumableBuffer` container type, introduced in D44544057, for buffering/observing arbitrary performance entry types in `WebPerformance/PerformanceEntryReporter`, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for). Reviewed By: sammy-SC Differential Revision: D44574241 fbshipit-source-id: a858712ff1cf468914a80c99f6b82d060cb0b702
Summary:
Changelog:
[Internal] - Use
BoundedConsumableBufferin WebPerformanceThis makes use of the
BoundedConsumableBuffercontainer type, introduced in D44544057, for buffering/observing arbitrary performance entry types inWebPerformance/PerformanceEntryReporter, thus generalizing what was earlier done in an ad-hoc way for marks and measures, and also allowing to have both observable/retrievable/buffered property for arbitrary performance entry type (with the ultimate goal of adding custom entry types, related to e.g. startup timing, something that we currently have an ad hoc API for).Differential Revision: D44574241