Matteo Collina
9727c01f84
Escape __dirname before generating regexp
2018-10-19 15:22:14 +02:00
Matteo Collina
04d119a7be
Bumped v4.5.1.
v4.5.1
2018-10-08 18:29:30 +02:00
Matteo Collina
839100c2e0
Merge pull request #187 from BridgeAR/filter-next-tick
...
Filter next tick
2018-10-08 17:57:10 +02:00
Ruben Bridgewater
52dfaee21c
Filter next tick
...
This also moves the main filter logic into the executed function.
This seemed cleaner instead of having to do this in the receiving
part.
2018-10-08 16:40:14 +02:00
Matteo Collina
38c7db5f7f
Bumped v4.5.0.
v4.5.0
2018-10-02 16:01:32 +02:00
Matteo Collina
3e706efa9b
Merge pull request #182 from AlanSl/cleanup-error
...
Don't leave isolate log debris if command execution hits error
2018-10-02 15:59:36 +02:00
AlanSl
65be213f63
Don't clean up if DEBUG set, and inform user
2018-10-02 12:03:39 +01:00
AlanSl
77e197d5df
Move regex out of inner closure
2018-10-01 14:35:05 +01:00
AlanSl
00cb6a2e19
Don't leave isolate log debris if command errors
2018-09-30 12:25:03 +01:00
Matteo Collina
d0a606e3b0
Bumped v4.4.5
2018-09-27 18:33:01 +01:00
Matteo Collina
7a91dd09e3
Merge pull request #180 from BridgeAR/fix-path
...
Fix binary path not found
2018-09-27 18:32:32 +01:00
Ruben Bridgewater
fcae338abc
Fix binary path not found
...
When running the visulization step the binary path was not passed
through properly. This is now fixed.
2018-09-27 15:50:05 +02:00
Matteo Collina
c76850cc65
Merge pull request #177 from goto-bus-stop/clinic
...
Expose stuff for clinic
2018-09-26 14:41:35 +01:00
Renée Kooi
2af1656e9d
Add a ticksToTree snapshot test
2018-09-26 15:15:22 +02:00
Renée Kooi
c2c82e2d78
Friendlier api for ticksToTree
2018-09-26 15:14:04 +02:00
Renée Kooi
b815523ab7
lint fix
2018-09-26 15:02:50 +02:00
Renée Kooi
537bd25dc8
remove exports.ticksToTree
2018-09-26 14:50:53 +02:00
Renée Kooi
b680e3df48
fix writeTicks from CLI
2018-09-26 14:50:31 +02:00
Renée Kooi
d8a648434b
words tweak
2018-09-26 14:48:27 +02:00
Renée Kooi
53ce1cd6c1
remove unused import
2018-09-26 14:48:27 +02:00
Renée Kooi
d00ffba889
Optionally write ticks.json
2018-09-26 14:48:27 +02:00
Renée Kooi
04fef50979
Revert "Store ticks during collect phase"
...
This reverts commit b8b40d19ba49ec4557b6fd3f20ea195b65127e9f.
2018-09-26 14:48:27 +02:00
Renée Kooi
547dec0fb6
Expose ticksToTree for custom visualizations
2018-09-26 14:48:27 +02:00
Renée Kooi
c643911ad8
Store ticks during collect phase
2018-09-26 14:48:25 +02:00
Matteo Collina
52729366dc
Bumped v4.4.4
v4.4.4
2018-09-24 23:33:47 +01:00
Matteo Collina
bcc17ea5c7
Update deps
2018-09-24 23:33:26 +01:00
Matteo Collina
9b45129ab7
Merge pull request #178 from BridgeAR/improve-init
...
Improve init
2018-09-24 23:58:36 +02:00
Ruben Bridgewater
13ea91156a
Detect esm modules init phase
2018-09-24 17:35:36 +02:00
Ruben Bridgewater
8fd20ca80f
Improve init detection
...
Some native frames could be detected as init phase which is wrong.
This fixes it by using a stricter core module detection.
2018-09-22 11:53:17 +02:00
Matteo Collina
40cb7c832e
Merge pull request #176 from BridgeAR/add-missing-files
...
Add missing files
2018-09-21 16:05:42 +02:00
Ruben Bridgewater
91407229b7
Add missing files
2018-09-21 16:03:23 +02:00
Matteo Collina
b393107893
Merge pull request #175 from BridgeAR/remove-load-phase
...
Remove load phase
2018-09-21 15:59:33 +02:00
Ruben Bridgewater
7b6c719de8
Log the actual error and not only the message
...
In case of an error, it is hard to debug anything without the actual
stack trace and further information that might be attached to the
error. This is fixed by changing the message and then logging the
actual error.
2018-09-21 15:11:49 +02:00
Ruben Bridgewater
b6c845f42e
Minor cleanup
2018-09-21 15:11:49 +02:00
Ruben Bridgewater
1b5b419191
Fix init detection
...
This makes sure the init phase is properly detected throughout all
Node.js versions.
A couple of mechanisms work together to achieve that:
1) Get the stack trace while starting Node.js and remove all those
frames later on.
2) All native modules are detected while initializing and all frames
before that one including it will also be marked as bootstrapping
frames.
3) For Node.js 10 a few more stacks are detected by directly checking
for the `internal/bootstrap.js` file. It would not show up in the
other two mechanisms.
4) A check for `internalBinding` is in place since this code would
only execute during native module loading.
5) An explicit check for `NativeModule` is in place since that is the
name of the internal Node.js module loading to bootstrap core.
This makes sure that pretty much all loading is properly detected.
Besides this, this commit fixes another small bug when using the
`treeDebug` option in combination with the `mapFrames` option. Before
the arguments were not passed through properly.
2018-09-21 15:11:49 +02:00
Matteo Collina
783161628c
Bumped v4.4.3.
2018-09-19 19:56:27 +02:00
Matteo Collina
179a792f53
Merge pull request #174 from BridgeAR/cleanup-path
...
Dry node path
2018-09-19 19:48:21 +02:00
Ruben Bridgewater
d5c0d06592
Dry node path
2018-09-19 19:18:56 +02:00
Matteo Collina
ee517dc7d1
Merge pull request #173 from BridgeAR/do-not-require-binary-path
...
Do not require pathToNodeBinary to be set
2018-09-19 19:11:20 +02:00
Ruben Bridgewater
ce46db50e3
fixup
2018-09-19 18:58:54 +02:00
Ruben Bridgewater
8940ae7b3e
Do not require pathToNodeBinary to be set
...
This was the case when 0x was used in a programatic way.
2018-09-19 18:45:17 +02:00
Matteo Collina
3111af69e7
Bumped v4.4.2
2018-09-19 14:56:33 +02:00
Matteo Collina
74fb83e801
Merge pull request #172 from davidmarkclements/fix-node-8-12-0
...
Fixed support for Node 8.12.0.
2018-09-19 14:51:20 +02:00
Matteo Collina
7d895ade8b
Fixed support for Node 8.12.0.
2018-09-19 14:42:47 +02:00
Matteo Collina
1ceb9fb026
Bumped v4.4.1
2018-09-19 11:25:06 +02:00
Matteo Collina
f965e4dcf3
Merge pull request #171 from goto-bus-stop/fix/metajson
...
Fix writing meta.json in --collect-only mode
2018-09-19 11:24:32 +02:00
Renée Kooi
bcc9b70c48
code style
2018-09-19 11:12:30 +02:00
Renée Kooi
e6a52aa5db
Fix writing meta.json in --collect-only mode
...
This was causing the failures @alansl was seeing in the flame tests.
Flame uses collectOnly and then visualizeOnly to create the flame graph,
rather than calling 0x once and letting it do the entire thing. After
9a1d4f069b629e256ef10b9fbb031583e66cda3d, meta.json was only written if
neither collectOnly nor visualizeOnly were used, which means it'd always
be missing with Flame.
2018-09-19 11:11:53 +02:00
Matteo Collina
98a20f1084
Merge pull request #170 from BridgeAR/update-dependencies
...
Update depdencies
2018-09-19 10:42:43 +02:00
Ruben Bridgewater
e885726a7f
Fix linting errors
2018-09-19 10:22:48 +02:00