mix compile.hologram (hologram v0.10.0)

Copy Markdown View Source

Builds Hologram project JavaScript bundles, the call graph of the code, PLTs needed by the runtime and PLTs needed to speed up future compilation.

Telemetry

Emits the following events around each compilation run, i.e. the critical section guarded by the compiler lock:

  • [:hologram, :compiler, :start] - dispatched when a compilation begins, with measurement %{system_time: System.system_time()}.

  • [:hologram, :compiler, :stop] - dispatched when a compilation ends, whether it succeeds or raises, with measurement %{duration: native_time} in System.monotonic_time/0 native units.

Summary

Functions