lib/roku_builder/plugins/profiler.rb in roku_builder-4.8.1 vs lib/roku_builder/plugins/profiler.rb in roku_builder-4.8.2
- old
+ new
@@ -165,9 +165,10 @@
end
def print_texture_information
start_reg = /\*+/
end_reg = /#{SecureRandom.uuid}/
lines = get_command_response(command: "loaded_textures", start_reg: start_reg, end_reg: end_reg)
+ lines = sort_image_lines(lines, /\s*\d+\sx\s+\d+\s+\d/, 3)
lines.each {|line| print line}
end
# Retrive list of all nodes
# @return [Array<String>] Array of lines