Skip to content

Commit 8187043

Browse files
committed
add time display to path test
1 parent 72aa709 commit 8187043

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

editor/tests/path-test.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ void path_test::draw_ui(app& a, float width)
236236
do_column("length");
237237
std::snprintf(buf, std::size(buf), "%d", (int)res.path.size());
238238
text(buf);
239+
240+
do_column("time");
241+
std::snprintf(buf, std::size(buf), "%.1f ms", (double)(1000 * res.time));
242+
text(buf);
239243
}
240244
}
241245

0 commit comments

Comments
 (0)