Changeset 195409 in webkit
- Timestamp:
- Jan 21, 2016, 7:47:31 AM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/display-profiler-output (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r195408 r195409 1 2016-01-21 Filip Pizlo <fpizlo@apple.com> 2 3 display-profiler-output should be able to display code blocks sorted by machine counts 4 https://bugs.webkit.org/show_bug.cgi?id=153298 5 6 Reviewed by Oliver Hunt. 7 8 * Scripts/display-profiler-output: 9 1 10 2016-01-21 Julien Isorce <j.isorce@samsung.com> 2 11 -
trunk/Tools/Scripts/display-profiler-output
r195396 r195409 536 536 end 537 537 538 def summary(mode )538 def summary(mode, order) 539 539 remaining = screenWidth 540 540 … … 619 619 $bytecodes.sort { 620 620 | a, b | 621 b.totalMaxTopExecutionCount <=> a.totalMaxTopExecutionCount 621 case order 622 when :bytecode 623 b.totalMaxTopExecutionCount <=> a.totalMaxTopExecutionCount 624 when :machine 625 b.totalMaxBottomExecutionCount <=> a.totalMaxBottomExecutionCount 626 else 627 raise 628 end 622 629 }.each { 623 630 | bytecode | … … 739 746 exit 0 740 747 when "summary", "s" 741 summary(:summary )748 summary(:summary, :bytecode) 742 749 when "full", "f" 743 summary(:full) 750 if args[0] and (args[0] == "m" or args[0] == "machine") 751 summary(:full, :machine) 752 else 753 summary(:full, :bytecode) 754 end 744 755 when "source" 745 756 if args.length != 1
Note:
See TracChangeset
for help on using the changeset viewer.