Skip to content

Filter diff files by given path on DB instead Ruby

Oswaldo Ferreira requested to merge 48246-osw-load-diffs-improvement into master

Only serialize diff files for given paths, that is, instead serializing every diff file, then filtering by path on Ruby, we pick up only diff files matching the given paths directly from the DB.

That should slightly speedup / consume less memory when:

  • Commenting on diffs (we pass specific paths)
  • When expanding collapsed diffs (we pass specific paths)

What are the relevant issue numbers?

Part of #48246 (closed)

Merge request reports