graph_lines performance