Analysis JavaScript
Trace supports recording detailed JavaScript profile data. A JavaScript Profile is a collection of stack traces sampled during execution, which is crucial for pinpointing performance hotspots and bottlenecks. This allows you to analyze script execution performance.
Click JS Profile and Select the correct scripts engine
Based on the background thread scripts engine used by your Lynx page, choose the appropriate value in the JS Profile selection.
- disable: Do not enable JavaScript profiling;
- primjs: Enable profiling for the PrimJS JavaScript engine.
- v8: Enable profiling for the V8 JavaScript engine.

Start recording
Click Start button to begin recording trace.

Stop recording
When finished, click Stop button to end the recording.

Decode JavaScript Profile Data using sourcemap (Optional)
If your scripts is minified, you can use sourcemap to decode profile data.

FAQ
No JavaScript profile data after recording trace
- Make sure you have selected the correct script engine before starting recording.
- On iOS, ensure both Lynx DevTool and PrimJS Debugging are enabled.
No scripting resource found after clicking SourceMap Decode
- Ensure you start trace recording before opening the Lynx page so that the script resource name can be captured.