logoalt Hacker News

z0al • today at 8:57 AM • 1 reply • view on HN

How does it compare to Difftastic[1]? Both built on top of TreeSitter and solve similar problems.

[1] https://difftastic.wilfred.me.uk/


Replies

FabCH • today at 9:11 AM

Comparing is slightly complicated but roughly speaking:

Difftastic only diffs code, which is only 2/3 of all diffs.

When only measured on stuff difftastic supports:

Difftastic is perfect on 64% of diffs and near-perfect on 17% more.

Omnidiff is perfect on 90% of diffs and near-perfect on 5% more.

Speed is

p50 - 35ms difftastic vs 4ms OmniDiff p99 - 637ms vs 420ms

Difftastic is MIT vs AGPL.

➕ show 1 reply