RepoJournal
Elixir & Phoenix

Elixir & Phoenix

Elixir, Phoenix, LiveView, and Ecto - the BEAM web stack

Keep up with Elixir & Phoenix in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Elixir & Phoenix Full archive →

The Wire · Showcase

ELIXIR CORE SHIPS CALENDAR SPEED SWEEP, PHOENIX LIVE VIEW FIXES UI STALLS

By RepoJournal · Filed · About Elixir & Phoenix

Three precision optimizations land in Elixir core with 1.75x speedups on date and time comparisons, while Phoenix Live View plugs a bug that was freezing UI for 200ms on zero-duration transitions.

The Elixir team is aggressively optimizing hot paths in the standard library. Date.compare/2 and Time.compare/2 both hit ~1.75x speedup [2] [4] by replacing tuple unwraps with direct tuple comparison, and Calendar.ISO is getting exact fast paths for day fraction addition [3] [5] that eliminate expensive gcd operations when denominators divide evenly. Access.slice/1 got a parallel treatment, removing per-element protocol dispatch overhead [1] by destructuring the range once and using integer arithmetic instead. On the Phoenix Live View side, JS.hide(..., time: 0) was silently coercing valid zero values to 200ms, locking the UI and stalling pending server updates [6] [8], now fixed. A second fix ensures runtime hook scripts that get replaced during DOM patching correctly track the connected node for afterAdded callbacks [7].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Replace protocol dispatch with arithmetic in Access.slice/1 ↗ elixir-lang/elixir
  2. [2] Optimize Time.compare/2 ↗ elixir-lang/elixir
  3. [3] perf: Add exact fast paths to Calendar.ISO.add_day_fraction_to_iso_days (#15759) elixir-lang/elixir
  4. [4] Optimize Date.compare/2 ↗ elixir-lang/elixir
  5. [5] perf: Add exact fast paths to Calendar.ISO.add_day_fraction_to_iso_da… ↗ elixir-lang/elixir
  6. [6] Preserve zero-duration JS transitions ↗ phoenixframework/phoenix_live_view
  7. [7] Fix runtime hook added node tracking ↗ phoenixframework/phoenix_live_view
  8. [8] Preserve zero-duration JS transitions (#4385) phoenixframework/phoenix_live_view

Quick answers

What shipped in Elixir & Phoenix on August 17, 2026?
Three precision optimizations land in Elixir core with 1.75x speedups on date and time comparisons, while Phoenix Live View plugs a bug that was freezing UI for 200ms on zero-duration transitions. In total, 9 commits and 6 pull requests landed.
Who contributed to Elixir & Phoenix on August 17, 2026?
4 developers shipped this update, including tomciopp, preciz, lukaszsamson, and SteffenDE.
What were the notable Elixir & Phoenix updates?
Replace protocol dispatch with arithmetic in Access.slice/1, Optimize Time.compare/2, and perf: Add exact fast paths to Calendar.ISO.add_day_fraction_to_iso_days (#15759).

More from Elixir & Phoenix

Daily updates, in your inbox

Follow Elixir & Phoenix

Keep up with Elixir & Phoenix in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?