Rafael Oleza
e6596dc102
Move debugger client code to its own folder
...
Reviewed By: davidaurelio
Differential Revision: D5899764
fbshipit-source-id: 3498dd71a11b47841a492cf77df7c887404c1719
2017-09-26 05:17:40 -07:00
Pieter De Baets
ed3c018ee4
Remove legacy JSC profiler
...
Reviewed By: bnham
Differential Revision: D5433406
fbshipit-source-id: 8cbea8b9b46a0d9f29c57a5bcf605e6bb61ed8a7
2017-07-20 04:21:16 -07:00
Dan Abramov
c451dd6cce
Update message with instructions
...
Summary:
The middleware for automatically converting Systrace traces to HTML and popping the browser hasn't worked properly for a while, since the version on Homebrew generates some code that uses `Object.observe`, which was deleted from Chrome ages ago. People have complained about it, but fixing it properly has proven to be harder than expected, so I suggest we simply update the message with instructions for people to load it on Chrome, which is what all of us have been doing anyway (AFAIK).
Closes https://github.com/facebook/react-native/pull/12445
Reviewed By: javache
Differential Revision: D4700153
Pulled By: gaearon
fbshipit-source-id: 0c33099babed93b3c70d36ae9dfc7d82460c8269
2017-03-20 10:49:43 -07:00
Charles Dick
af590b0c74
remove the old heap profiler visualization code
...
Differential Revision: D4650983
fbshipit-source-id: 1f791acdd3e2d96e7881ea037045fafa2c6d781a
2017-03-15 06:47:34 -07:00
Ke Mao
8bfab2c733
Improve command-line experience for capturing mobile JS heap
...
Reviewed By: cwdick
Differential Revision: D4612319
fbshipit-source-id: 607a09286abdd83368996ffc553b3ce984b62f34
2017-03-01 19:26:28 -08:00
Mike Grabowski
2f5556df39
Remove build artifacts
...
Summary:
Ignores `bundle.js` that is a webpack bundle and got most likely accidentally released. Already cherry-picked to 0.42
Fixes #12183
Closes https://github.com/facebook/react-native/pull/12185
Differential Revision: D4507535
Pulled By: mkonicek
fbshipit-source-id: 2ab404534b345cf531f408b654c34a30abd01458
2017-02-03 06:58:35 -08:00
Charles Dick
76e3d45c34
Add cell size to JSC heap capture visualization
...
Reviewed By: bnham
Differential Revision: D4469000
fbshipit-source-id: 3e572bb7bdd83f79009d2059d543e03e6a57bba0
2017-02-01 10:58:30 -08:00
rh389
7a4166c31d
Deal with 0.38 'FlowFixMe's
...
Summary:
Largely typing fixes to deal with the glut of new `FlowFixMe` suppressions introduced with flow 0.38 in a4bfac907e
Tested with flow itself. CC gabelevi
Closes https://github.com/facebook/react-native/pull/11985
Differential Revision: D4452045
Pulled By: ericvicenti
fbshipit-source-id: acc46c4c406ae706a679e396be1d40ae2f4ce5a1
2017-01-31 13:13:32 -08:00
Charles Dick
936c62a265
JSC Heap Capture add other roots to visualization
...
Reviewed By: amnn
Differential Revision: D4422659
fbshipit-source-id: a32e87d2d39b6ff571f02d613b32db630e5e6de1
2017-01-26 03:28:31 -08:00
Lukas Piatkowski
c5f862b913
The jscProfileMiddleware require some FB only modules, so moving to internal
...
Reviewed By: cwdick
Differential Revision: D4441898
fbshipit-source-id: 0ab5aa4158fccf190e76d3582a8a12d9b1d23fa8
2017-01-25 10:43:54 -08:00
Gabe Levi
e2ce98b7c6
Fix the suppress comment regex for react_native
...
Reviewed By: davidaurelio
Differential Revision: D4435640
fbshipit-source-id: c680aee6931979859f04c0dca47037ba6f6cba73
2017-01-19 10:28:28 -08:00
Gabe Levi
a4bfac907e
Deploy v0.38.0
...
Reviewed By: jeffmo
Differential Revision: D4428858
fbshipit-source-id: 10dc69349a2b563e1fa444a8b0612e3b2d4ccd1c
2017-01-18 11:13:30 -08:00
Lukas Piatkowski
bbd5750bb4
Sampling Profiler to return urls that open file in nuclide
...
Reviewed By: cwdick
Differential Revision: D4422768
fbshipit-source-id: 2e8c4af6e6fae4256fe886b79f5ea6c87986d581
2017-01-18 04:28:38 -08:00
Charles Dick
59dd2133cb
ignore heap captures
...
Reviewed By: mkonicek
Differential Revision: D4265530
fbshipit-source-id: 0933fea4ee2c2ee89805ab9c8d8819a928087c7b
2016-12-02 08:28:32 -08:00
Lukas Piatkowski
81b1a2c6a5
Propagate bytecode offset in SamplingProfiler and use it to name unnamed functions
...
Reviewed By: cwdick
Differential Revision: D4251568
fbshipit-source-id: 2343d8f6a5b2f247a7af1bbd0112bed8edadcbfe
2016-12-01 09:43:37 -08:00
Lukas Piatkowski
48b95f08fb
Refactory of SamplingProfiler, CpuProfileGenerator and jscProfilerMiddleware
...
Reviewed By: cwdick
Differential Revision: D4251541
fbshipit-source-id: ccd221beadd87f6a8cf27a1d68ae06599cf54333
2016-12-01 09:43:37 -08:00
Charles Dick
48d3cd7d26
Pull aggrow from facebookincubator/tracery-prerelease
...
Reviewed By: bnham
Differential Revision: D4250937
fbshipit-source-id: b5f2cfdeb06c04399670e463b8b2498e2fe0074b
2016-11-30 12:58:35 -08:00
Charles Dick
3094c36c81
remove old heap capture in preparation for pull from tracery-prerelease
...
Reviewed By: bnham
Differential Revision: D4250926
fbshipit-source-id: 7cfbb8d8aae5ef150f0260c92e946d569e41f7fb
2016-11-30 12:58:35 -08:00
Tim Yung
ebc65cecd6
Packager: Options Cleanup
...
Reviewed By: matryoshcow
Differential Revision: D4235221
fbshipit-source-id: 6930a106ed02bec1d77a790641c3dcad46c779b9
2016-11-28 12:43:34 -08:00
Martin Konicek
a477aec10d
Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support
...
Summary:
This is the manually imported version of https://github.com/facebook/react-native/pull/10786
This was mostly straigthforward by replacing the local-cli folder with the version I had in my local git checkout,
plus a few other files I listed with git diff --name-only.
Reviewed By: hramos
Differential Revision: D4201118
fbshipit-source-id: 4d0fb54b0edda9de1abba427958e420fd2ac105c
2016-11-18 18:28:51 -08:00
Alexander Blom
f571d28e68
Allow launching inspector from dev menu
...
Reviewed By: davidaurelio
Differential Revision: D4095356
fbshipit-source-id: 46e43578cdcd663316efb82dffde27b77294c5c0
2016-11-15 08:59:02 -08:00
Alexander Blom
655fe2796a
Add packager inspector proxy
...
Summary:
Implements a multi-device proxy for the Chrome debugging protocol. Each device connects
to the proxy over a single websocket connection that is able to multiplex messages to multiple
Javascript VMs. An inspector instance running in Chrome can connect to a specific VM via this
proxy.
Reviewed By: davidaurelio
Differential Revision: D4088492
fbshipit-source-id: 3ee934e98604b5a378da732e687ca05fe3d23ce0
2016-11-15 08:59:02 -08:00
Charles Dick
6ddf8a8795
refactor aggrow to make adding new sources of data easier
...
Reviewed By: michalgr
Differential Revision: D3961648
fbshipit-source-id: 3c77d3c1352fd89e12163eee393ffcebe09ea8e3
2016-10-25 07:13:51 -07:00
Charles Dick
217a4449d4
remove dependency between aggrow and stackRegistry
...
Reviewed By: bnham
Differential Revision: D3876267
fbshipit-source-id: 2ad7e70445f3f4641cde554e94de000403368233
2016-10-06 07:58:36 -07:00
Charles Dick
286b56fbd0
Add configuration tab to aggrow
...
Reviewed By: bnham
Differential Revision: D3759273
fbshipit-source-id: fd09465e19fbd1b377bf8b384f9b0b241bf43288
2016-10-04 03:29:55 -07:00
Charles Dick
0c157bea36
Move aggrow table header into its own component
...
Reviewed By: bnham
Differential Revision: D3759285
fbshipit-source-id: befee1f060992ac8049042e4389d944d13bc3ae7
2016-09-16 03:13:44 -07:00
Charles Dick
8af84c6788
logging to jsc heap capture expand contract
...
Reviewed By: bnham
Differential Revision: D3757560
fbshipit-source-id: 00046797b17c9fa9e37dab597f11d9db7f7bd08a
2016-09-16 02:43:45 -07:00
Charles Dick
d2c333acaf
name functions in JSC cpu profiles
...
Reviewed By: bestander
Differential Revision: D3835094
fbshipit-source-id: 164afb7878dde528ee2573e1d499b5e0911662ed
2016-09-15 07:13:37 -07:00
Charles Dick
e6bec9cb80
Add option to bundle server to generate full sourcemaps from babel
...
Reviewed By: bestander
Differential Revision: D3863894
fbshipit-source-id: a282758e022d403743841bc59277196e6741ed18
2016-09-15 06:58:26 -07:00
Charles Dick
84ce9d9aea
add module categorization to jsc heap capture visualization
...
Reviewed By: bnham
Differential Revision: D3757536
fbshipit-source-id: 87e5d605f7490b00bde741dc5dc7a68428a25b50
2016-09-12 03:13:44 -07:00
Charles Dick
73d7f36d8f
refactor how path and react tree are done in jsc heap capture
...
Reviewed By: bnham
Differential Revision: D3757510
fbshipit-source-id: dff0f85586ef910b28c3fedf06a5178a2c2b28b2
2016-09-09 09:13:37 -07:00
Charles Dick
c06c1e1786
Add values to JSC heap capture visualizaion
...
Reviewed By: bnham
Differential Revision: D3757492
fbshipit-source-id: 2e311878ca773b7d1ec680a2dc6422633f98a3a7
2016-09-01 17:29:05 -07:00
Charles Dick
a0f55c9bca
Change how values are captured in JSC heap snapshots
...
Reviewed By: dcaspi
Differential Revision: D3757449
fbshipit-source-id: 9952f7ffb9b725ad3e0e3ca0b13b02d2d469bb95
2016-09-01 17:29:05 -07:00
Charles Dick
28768a715f
add keyboard shortcuts to aggrow
...
Differential Revision: D3724598
fbshipit-source-id: e744d710ccb49f67101abcdded17085f6e7c8b23
2016-08-17 11:28:31 -07:00
Lukas Piatkowski
3d7fe3e6d3
Mark in Sampling Profiler when the execution is outside of the VM
...
Differential Revision: D3722907
fbshipit-source-id: c988c3ea2ab33496dc1453e6e54e624d9f295173
2016-08-17 08:28:48 -07:00
Charles Dick
294c70cc63
use string values to get names for JSC heap capture react tree
...
Reviewed By: dcaspi
Differential Revision: D3723800
fbshipit-source-id: a013525f77484dfb8dc39ced81feee42bccba70d
2016-08-17 08:13:49 -07:00
Charles Dick
348a8078bc
dump string values in JSC heap capture
...
Reviewed By: dcaspi
Differential Revision: D3723764
fbshipit-source-id: 06ca770808a94bb8b567bab36c1729f1e696484e
2016-08-17 08:13:49 -07:00
Charles Dick
f2f27d6254
add marked block overhead to JSC heap capture aggrow
...
Reviewed By: bnham
Differential Revision: D3728678
fbshipit-source-id: 2c17003449dddb0ea68d3f6b097fd7704758cf5f
2016-08-17 03:43:34 -07:00
Charles Dick
d54b3b8701
Add react component names to JSC heap capture
...
Differential Revision: D3709253
fbshipit-source-id: dc158d6a096c3e91baeadbaafbf14904493392aa
2016-08-16 13:58:41 -07:00
Charles Dick
1199c5ade9
Add function name, url, line, column to heap capture
...
Reviewed By: bnham
Differential Revision: D3703012
fbshipit-source-id: 8e15deeeabe15da2a87a71c2baf0fa72d5bc6568
2016-08-16 06:59:06 -07:00
Dan Caspi
0cc3b4b079
Fixes to jscProfilerMiddleware
...
Reviewed By: bnham
Differential Revision: D3691098
fbshipit-source-id: dbadda69ff0b6a8d9d349b33c45234ff4f8c3b65
2016-08-10 06:43:51 -07:00
Charles Dick
c43c80bd7c
fix error handling in react native heap capture server middleware
...
Reviewed By: bnham
Differential Revision: D3684092
fbshipit-source-id: 1856fa4c04a173e1df49dfe17ebef09a066447e5
2016-08-09 04:28:53 -07:00
Charles Dick
54f867f0d6
Process heap capture into trace html
...
Reviewed By: bestander
Differential Revision: D3642188
fbshipit-source-id: c9a4699b2a0d60eb5961333dec45941085e19324
2016-08-08 04:28:32 -07:00
Lukas Piatkowski
4e3b484631
Put "file:line" when we can't resolve function name
...
Reviewed By: michalgr
Differential Revision: D3670558
fbshipit-source-id: 2a60babf16ac6e6be77ebb6e76f5179b024a77c6
2016-08-05 06:13:41 -07:00
Konstantin Raev
ed89d5ba0d
fixed trunk: wrong way to require a module
...
Summary:
This should fix https://travis-ci.org/facebook/react-native/jobs/149264391
Closes https://github.com/facebook/react-native/pull/9169
Differential Revision: D3657544
Pulled By: javache
fbshipit-source-id: d49ed0355cc5da72d1d8f40dfa03e669f2291db1
2016-08-02 13:13:26 -07:00
Lukas Piatkowski
350b5a2c48
Use packager's source map to resolve function name and clean up dead code in SP
...
Reviewed By: bnham
Differential Revision: D3649501
fbshipit-source-id: 62e13633436c645d9b43eb75c39b4ddcf0458eb3
2016-08-02 11:14:06 -07:00
Lukas Piatkowski
066de9d820
#18 Using the bundle url resolve origin source in jsc profiler middleware
...
Reviewed By: bestander
Differential Revision: D3620292
fbshipit-source-id: e3c54fb30bc65ff1ddd650340a2905a9f0e16231
2016-08-02 11:14:06 -07:00
Lukas Piatkowski
2231b21ed0
#15.1 Extend packager server to receive signals from Sampling Profiler
...
Reviewed By: bestander
Differential Revision: D3606098
fbshipit-source-id: ec55030dd1b3a27f0595650da1ce01fe1ac9116c
2016-08-02 11:14:06 -07:00
Charles Dick
aba87550cc
upload JSC heap capture to bundle server
...
Reviewed By: bestander
Differential Revision: D3642116
fbshipit-source-id: 9626078bb0f087f55d8270c8e0b082c74bd2df9d
2016-08-02 08:13:57 -07:00
Siqi Liu
dc3fce06ea
Add Copy and Dismiss Button in RN Android Red Box
...
Summary:
Add "Copy" and "Dismiss" button when the RN Android redbox is shown, consistent with that in RN iOS.
- "Copy" button copies all the messages shown in the redbox to the host system clipboard, the solution is posting redbox messages to packager and the the packager copies the messages onto the host clipboard.
- "Dismiss" button always exits the redbox dialog.
- Add shortcut as "Dismiss (ESC)" and "Reload (R, R).
Notice: Copy button is only supported on Mac OS by now (warning in packager on other platforms), because it's not easy for us to test on Windows or Linux. Will put the codes for other platforms on Github issues, hoping anyone could help test and add this feature, then send us a pull request.
Redbox Dialog in RN Android before:
{F61310489}
Redbox Dialog in RN Android now:
{F61659189}
Follow-up:
- We can adjust the button styles in redboxes.
- We can consider to add shortcut for "Copy" button.
Reviewed By: foghina
Differential Revision: D3392155
fbshipit-source-id: fc5dc2186718cac8706fb3c17d336160e61e3f4e
2016-06-30 08:13:22 -07:00