For the complete documentation index, see llms.txt. This page is also available as Markdown.

Benchmark

ENVIRONMENT AND METHOD


LIST DIFF

Scenario
Superdiff
arr-diff
deep-diff

10k items array

1.84 ms

32.95 ms

4.74 ms

100k items array

17.43 ms

3363.15 ms

50.36 ms

OBJECT DIFF

Scenario
superdiff
deep-object-diff
deep-diff
microdiff

10k flat object keys

2.27 ms

2.44 ms

39.37 ms

2.24 ms

100k flat object keys

29.23 ms

31.86 ms

3784.50 ms

29.51 ms

100k nested nodes

4.25 ms

9.67 ms

16.51 ms

7.26 ms

TEXT DIFF

Scenario
superdiff
diff

10k words

1.32 ms

3.86 ms

100k words

12.09 ms

45.64 ms

10k sentences

1.58 ms

4.53 ms

100k sentences

22.31 ms

55.60 ms

(Superdiff uses its normal accuracy settings to match diff's behavior)


CODE DIFF

Scenario
superdiff
diff

1k lines

0.36 ms

1.14 ms

10k lines

9.55 ms

67.21 ms

100k lines

911.80 ms

6995.84 ms

Superdiff uses its normal accuracy settings to match diff's behavior

👉 Despite providing a full structural diff with a richer output, Superdiff consistently matches or outperforms the fastest alternatives tested. It also scales linearly, even with deeply nested data.

Last updated