@sansavision/apphelm-react-native-profiler 0.8.0 → 0.8.1
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 +5 -1
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.8.
|
|
3
|
+
## 0.8.1 (unreleased)
|
|
4
|
+
|
|
5
|
+
No code changes; released in lockstep at 0.8.1. The README now says Hermes profile frames are mapped to source through the bundle's uploaded source map (the server already did this).
|
|
6
|
+
|
|
7
|
+
## 0.8.0 (released 7 Nov 2026)
|
|
4
8
|
|
|
5
9
|
- First version (for SDK 0.8.0): the native half of `@sansavision/apphelm/react-native-profiling`. An
|
|
6
10
|
Android module (`HermesSamplingProfiler.enable()`, `disable()`, `dumpSampledTraceToFile()` into the
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ This is how Sentry React Native profiles Hermes (`RNSentryModuleImpl.startProfil
|
|
|
36
36
|
- **Hermes only.** On JavaScriptCore `start()` resolves to `false` and nothing is profiled. Expo Go has no custom native modules: use a development build.
|
|
37
37
|
- `hermesSampler` is `null` when the module isn't linked (the app wasn't rebuilt); `hermesProfiling` then does nothing.
|
|
38
38
|
- One profile at a time, at most 30 seconds (the JavaScript side stops it).
|
|
39
|
-
- Release builds name frames by their Hermes bytecode position (`app:///index.android.bundle:1:<offset>`), with minified function names. AppHelm stores those positions
|
|
39
|
+
- Release builds name frames by their Hermes bytecode position (`app:///index.android.bundle:1:<offset>`), with minified function names. AppHelm stores those positions and maps them back to your source when the profile is shown, through the bundle's uploaded source map (`apphelm sourcemaps upload --bundle`), naming functions by Metro's function map (`x_facebook_sources`), as it does for errors. A map uploaded after the profile still applies.
|
|
40
40
|
- Not yet built in a React Native app or run on a device by AppHelm: the Java module was compiled against stubs of React Native's classes and the iOS module type-checked against stubs of its headers.
|
|
41
41
|
|
|
42
42
|
Requires React Native 0.71 or later.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sansavision/apphelm-react-native-profiler",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "The native half of AppHelm's React Native profiling: starts and stops Hermes's sampling profiler (Android and iOS) for @sansavision/apphelm/react-native-profiling.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|