Skip to content

Enhance QueryRecorder to support finding queries by source + memoizing of read only attributes

Ohad Dahan requested to merge (removed):enhance_query_recorder into master

What does this MR do?

https://docs.gitlab.com/ee/development/query_recorder.html

  1. Enhance QueryRecorder to collate DB calls by their source.
  2. Memoize read only attributes.

Conformity

Availability and Testing

As I see now, this class is only used and doesn't have any tests of its own.

It should actually be straight forward to test it, I'll add some tests to cover old and new features.

Edited by Brett Walker

Merge request reports