rgpycrumbs.surrogate.plt_scaling

Draw strong-scaling speedup and a parallel-efficiency table.

Added in version 1.12.0.

TABLE is a CSV of per-repetition wall times (columns cell, ranks, threads, repetition, stage, seconds, calls; --counts adds the passed column) or JSON {"<series>": {"workers": [...], "time_s": [...]}}. Speedup is relative to each series’ own first point, or to the first point of the series --reference names. --pop FILE adds a <prefix>-<cell>-pop panel per cell from a fixed-work CSV; a cell FILE names that TABLE does not hold is an error naming both. Files are <prefix>-speedup and <prefix>-efficiency:

rgpycrumbs surrogate plt-scaling scaling.json -o figs/scaling

Attributes

Functions

main(*, table, prefix, reference, counts, stage, ...)

Draw scaling figures from TABLE.

Module Contents

rgpycrumbs.surrogate.plt_scaling.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_scaling.main(*, table, prefix, reference, counts, stage, cells, pop, pop_metrics, fmt, dpi, font, font_dirs, legend_fontsize)[source]

Draw scaling figures from TABLE.