# `mix compile.hologram`
[🔗](https://github.com/bartblast/hologram/blob/v0.10.1/lib/mix/tasks/compile/hologram.ex#L1)

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.

# `run`

Benchmarks: https://github.com/bartblast/hologram/blob/master/benchmarks/mix/tasks/compile.hologram/README.md

---

*Consult [api-reference.md](api-reference.md) for complete listing*
