This is neat. I decided to diff two pods in a replicated Kubernetes service. It seemed that it was going to take forever to run, so I just wrote a short Go program to do the same thing (load two JSON files into a map[string]interface{}, cmp.Diff them) while it was going: https://gist.github.com/jrockway/73982949b3d2ce9b443528042c4... My program runs in less than 10 milliseconds (/usr/bin/time reports 0.00 seconds), a…
According to their readme they don't just match on keys, but even try to detect changed keys for the same content, even when the two files have a different inner order of elements.
Your diff is probably equivalent to a pretty print and then running regular diff on it, i.e. not even sorting the file.
Having said that and assuming your file wasn't extraordinary large, a 5min runtime makes this tool kinda unusable.