PaperForge.RenderStats (PaperForge v1.4.5)

Copy Markdown View Source

Stable render measurements returned by PaperForge.render/2.

Timing fields are microseconds. Memory is the current render process memory at the beginning and end of serialization, not VM-wide peak memory.

Summary

Types

t()

@type t() :: %PaperForge.RenderStats{
  bookmarks: non_neg_integer(),
  cache: map(),
  duration_us: non_neg_integer(),
  embedded_fonts: non_neg_integer(),
  fingerprint: binary(),
  fonts: non_neg_integer(),
  forms: non_neg_integer(),
  gc_count: non_neg_integer(),
  images: non_neg_integer(),
  layout_us: non_neg_integer(),
  links: non_neg_integer(),
  memory_after_bytes: non_neg_integer(),
  memory_before_bytes: non_neg_integer(),
  memory_delta_bytes: integer(),
  objects: non_neg_integer(),
  output_bytes: non_neg_integer(),
  pages: non_neg_integer(),
  reductions: non_neg_integer(),
  resources: map(),
  serialization_us: non_neg_integer(),
  write_us: non_neg_integer()
}