[rb-general] gcc-6 diff that doesn't blow up your browser

Ximin Luo infinity0 at debian.org
Fri Jul 7 15:22:00 CEST 2017


https://people.debian.org/~infinity0/repro/gcc-6-repro/gcc.diff.html/

This was output using the work I did on diffoscope on the WIP/humungous-diffs branch, which I just merged into master. Note the "load details" buttons - previously this was only on individual diff blocks, but now the main page that holds the diff tree, is also split into chunks that are digestable by your browser.

Also, you can click or shift-click the diff headers to show/hide the children (this feature has existed for quite a while now).

I built them with the BUILD_PATH_PREFIX_MAP patches, so hopefully there's not that many build-path differences. The raw diff in JSON format is here:

https://people.debian.org/~infinity0/repro/gcc-6-repro/gcc-wo-gcj.diff.json.xz

Since recent versions of diffoscope, you can load this back into diffoscope in order to generate output with it again, e.g. to tweak the limits settings and so on. For example, the above linked diff has a default limit of 1024 lines for each diff block, the raw diff doesn't have this cut-off.

$ diffoscope \
  --debug --jquery jquery.js \
  --no-default-limits \
  --max-diff-block-lines 1024 \
  --max-page-size 4194304 \
  --max-page-size-child 524288 \
  --html-dir gcc.diff.html \
  gcc-wo-gcj.diff.json

Enjoy, and let me know if you have any feedback or suggestions! One extra tweak I might add soon is, if you shift-click on "load details" then it will load all siblings. I can see that it might get annoying to have to click on every single one.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git


More information about the rb-general mailing list