@rozenite/performance-monitor-plugin 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/devtools/App.html +1 -1
- package/dist/devtools/assets/App-C6sYVLCG.js +66 -0
- package/dist/react-native/chunks/usePerformanceMonitorDevTools.require.cjs +1 -1
- package/dist/react-native/chunks/usePerformanceMonitorDevTools.require.js +126 -59
- package/dist/rozenite.json +1 -1
- package/package.json +6 -5
- package/src/react-native/__tests__/serialize.test.ts +229 -0
- package/src/react-native/asserts.ts +21 -3
- package/src/react-native/performance-monitor.ts +72 -37
- package/src/react-native/serialize.ts +93 -0
- package/src/shared/types.ts +40 -1
- package/src/ui/App.tsx +86 -6
- package/src/ui/__tests__/derive-startup-phases.test.ts +78 -0
- package/src/ui/__tests__/utils.test.ts +63 -0
- package/src/ui/components/DetailsSidebar.tsx +6 -0
- package/src/ui/components/ExportModal.tsx +68 -28
- package/src/ui/components/MarkDetails.tsx +1 -4
- package/src/ui/components/MeasureDetails.tsx +8 -0
- package/src/ui/components/MeasuresTable.tsx +11 -2
- package/src/ui/components/MetricDetails.tsx +1 -4
- package/src/ui/components/ReactNativeMarkDetails.tsx +44 -0
- package/src/ui/components/ReactNativeMarksTable.tsx +44 -0
- package/src/ui/components/ResourceDetails.tsx +137 -0
- package/src/ui/components/ResourcesTable.tsx +65 -0
- package/src/ui/components/SessionDuration.tsx +1 -4
- package/src/ui/derive-startup-phases.ts +48 -0
- package/src/ui/utils.ts +19 -4
- package/dist/devtools/assets/App-e45yAmvz.js +0 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @rozenite/performance-monitor-plugin
|
|
2
2
|
|
|
3
|
+
## 1.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#264](https://github.com/callstackincubator/rozenite/pull/264) [`4c58099`](https://github.com/callstackincubator/rozenite/commit/4c5809934beb7cf139f7337da4706dbc50fe9434) Thanks [@burczu](https://github.com/burczu)! - Expand performance monitor coverage to `resource` and `react-native-mark` entries, and preserve `mark.detail`.
|
|
8
|
+
|
|
9
|
+
The panel now has dedicated tabs for **React Native Marks** (the native startup taxonomy like `nativeLaunchStart`, `runJSBundleStart`, …) and **Resources** (HTTP requests captured via `setResourceLoggingEnabled`). The Resources table shows Name / Type / Duration / Size, with the full `PerformanceResourceTiming` breakdown (sizes, all 12 timing phases, `serverTiming` / `workerTiming`) available in the details sidebar. Previously dropped `mark.detail` payloads are now preserved end-to-end and rendered in the Mark Details sidebar. The export modal can include both new entry types and reports their counts in `sessionInfo`.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#269](https://github.com/callstackincubator/rozenite/pull/269) [`0442184`](https://github.com/callstackincubator/rozenite/commit/04421844d2f902ff484e6c73bbc25b50a25b55b2) Thanks [@burczu](https://github.com/burczu)! - Fix time display precision in the Performance Monitor panel. Durations under 1s now show as integer milliseconds (clock accuracy is 1ms, so `.toFixed(2)` was always faking precision). Durations ≥ 1s show 3 decimals (`1.234s`) for the same 1ms-precision invariant. Wall-clock timestamps (mark `Recorded at`, measure `Start Time` / `End Time`, session `Started`) include their millisecond component in a stable 24h `HH:MM:SS.mmm` format. Non-zero sub-millisecond durations display as `<1ms` instead of `0ms`, so a marker that fired isn't mistaken for "not measured."
|
|
14
|
+
|
|
15
|
+
- Updated dependencies []:
|
|
16
|
+
- @rozenite/plugin-bridge@1.10.0
|
|
17
|
+
|
|
3
18
|
## 1.9.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/devtools/App.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<script>
|
|
23
23
|
var __ROZENITE_PANEL__ = true;
|
|
24
24
|
</script>
|
|
25
|
-
<script type="module" crossorigin src="../devtools/assets/App-
|
|
25
|
+
<script type="module" crossorigin src="../devtools/assets/App-C6sYVLCG.js"></script>
|
|
26
26
|
<link rel="stylesheet" crossorigin href="../devtools/assets/App-CcO8G7X1.css">
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|