Commit 740bf78
vm,trace_events: add node.vm.script trace events category
Add basic trace events for node_contextify. These generally
align very well with V8.ScriptCompile and V8.ScriptExecute
trace events and provide good additional context. For instance,
using the node.vm.script trace category at startup allows us to
see exactly how long compilation and init of each of our core
modules adds to the startup time.
PR-URL: #20728
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 8f489a2 commit 740bf78Copy full SHA for 740bf78
File tree
Expand file treeCollapse file tree
3 files changed
+80
-0
lines changedOpen diff view settings
Filter options
- doc/api
- src
- test/parallel
Expand file treeCollapse file tree
3 files changed
+80
-0
lines changedOpen diff view settings
Collapse file
+2Lines changed: 2 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
| 27 | + |
| 28 | + |
27 | 29 | |
28 | 30 | |
29 | 31 | |
|
Collapse file
+36Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
665 | 665 | |
666 | 666 | |
667 | 667 | |
| 668 | + |
| 669 | + |
| 670 | + |
| 671 | + |
| 672 | + |
| 673 | + |
| 674 | + |
| 675 | + |
| 676 | + |
| 677 | + |
668 | 678 | |
669 | 679 | |
670 | 680 | |
| ||
694 | 704 | |
695 | 705 | |
696 | 706 | |
| 707 | + |
| 708 | + |
| 709 | + |
| 710 | + |
697 | 711 | |
698 | 712 | |
699 | 713 | |
| ||
717 | 731 | |
718 | 732 | |
719 | 733 | |
| 734 | + |
| 735 | + |
| 736 | + |
| 737 | + |
720 | 738 | |
721 | 739 | |
722 | 740 | |
| ||
729 | 747 | |
730 | 748 | |
731 | 749 | |
| 750 | + |
| 751 | + |
| 752 | + |
| 753 | + |
| 754 | + |
| 755 | + |
732 | 756 | |
733 | 757 | |
734 | 758 | |
| ||
742 | 766 | |
743 | 767 | |
744 | 768 | |
| 769 | + |
| 770 | + |
| 771 | + |
745 | 772 | |
746 | 773 | |
747 | 774 | |
748 | 775 | |
749 | 776 | |
| 777 | + |
| 778 | + |
| 779 | + |
750 | 780 | |
751 | 781 | |
752 | 782 | |
| ||
759 | 789 | |
760 | 790 | |
761 | 791 | |
| 792 | + |
| 793 | + |
| 794 | + |
762 | 795 | |
763 | 796 | |
764 | 797 | |
| ||
775 | 808 | |
776 | 809 | |
777 | 810 | |
| 811 | + |
| 812 | + |
| 813 | + |
778 | 814 | |
779 | 815 | |
780 | 816 | |
|
Collapse file
test/parallel/test-trace-events-vm.js
Copy file name to clipboard+42Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
0 commit comments