@onekeyfe/react-native-perf-memory 3.0.179-alpha.306 → 3.0.179
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/README.md +0 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,18 +42,6 @@ Use bounded sampling intervals suited to diagnostics rather than requesting a
|
|
|
42
42
|
sample on every render. The exported interface is defined in
|
|
43
43
|
[src/ReactNativePerfMemory.nitro.ts](src/ReactNativePerfMemory.nitro.ts).
|
|
44
44
|
|
|
45
|
-
## Reading a diagnostic sample
|
|
46
|
-
|
|
47
|
-
The named `ReactNativePerfMemory` object exposes only `getMemoryUsage()`.
|
|
48
|
-
`MemoryUsage` is exported as a TypeScript type; it contains `rss`, with no
|
|
49
|
-
JavaScript-heap breakdown, per-runtime allocation count or sampling timestamp.
|
|
50
|
-
Record a timestamp in the caller if a time series needs one.
|
|
51
|
-
|
|
52
|
-
A sample is process-wide even when requested from one JavaScript runtime.
|
|
53
|
-
Keep platform, preferred/fallback measurement semantics and units alongside
|
|
54
|
-
results when comparing runs. The module's zero fallback should be treated as
|
|
55
|
-
an unavailable sample rather than included as measured zero consumption.
|
|
56
|
-
|
|
57
45
|
## License
|
|
58
46
|
|
|
59
47
|
MIT.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/react-native-perf-memory",
|
|
3
|
-
"version": "3.0.179
|
|
3
|
+
"version": "3.0.179",
|
|
4
4
|
"description": "Native process memory sampling for OneKey on iOS and Android",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|