Improve runtime of usage data specs
The following discussion from !40130 (merged) should be addressed:
-
@splattael started a discussion: (+2 comments) Non-blocking Not this MR but looking at rspec profiling (https://gitlab-org.gitlab.io/rspec_profiling_stats/) it seems that
spec/lib/gitlab/usage_data_spec.rb
andee/spec/lib/ee/gitlab/usage_data_spec.rb
are rising stars in terms of amount of queries and runtime😅 @ali-gitlab Is there a way to reduce the amount of queries making the spec faster? (see also https://gitlab.com/gitlab-org/plan/-/issues/145
👀 )
/cc @gitlab-org/growth/telemetry/engineers
Edited by Alishan Ladhani