Documentation
¶
Overview ¶
Command perf times go-plot on the two benchmark figures: a line plot of a million points and a 1000 x 1000 imshow, each saved as PNG and as SVG. It prints one JSON line per measurement: {"case":..., "seconds":...}. The data are built before the clock starts; the clock covers building the figure and writing the file (to memory).
go run ./perf -case line_png
Click to show internal directories.
Click to hide internal directories.