This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Captures a JS heap snapshot from a running React Native app via Hermes CDP. | |
| * Bypasses the broken RN DevTools Memory tab (facebook/react-native#49158). | |
| * | |
| * Usage: | |
| * node scripts/heap-snapshot.mjs [metro-port] [output-file] | |
| * | |
| * Defaults: | |
| * metro-port = 8081 | |
| * output-file = heap-<timestamp>.heapsnapshot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Computer Information: | |
| Manufacturer: Micro-Star International Co., Ltd. | |
| Model: B450M MORTAR MAX (MS-7B89) | |
| Form Factor: Desktop | |
| No Touch Input Detected | |
| # Processor Information: | |
| CPU Vendor: AuthenticAMD | |
| CPU Brand: AMD Ryzen 7 5800X 8-Core Processor | |
| CPU Family: 0x19 |