Commit 81ef50c
authored
repos: remove unread fields from graphql query (#1288)
We didn't actually read the majority of fields on the graphql query for
repositories. So we remove all unread fields. In particular this removes
the field "Language" which is expensive to compute if not cached.
In practice I suspect this will dramatically improve the performance of
"src repos list" command.1 parent c9cbde0 commit 81ef50c
1 file changed
Lines changed: 2 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 54 | | |
67 | 55 | | |
68 | 56 | | |
69 | 57 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 58 | | |
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 62 | + | |
| 63 | + | |
101 | 64 | | |
102 | 65 | | |
103 | 66 | | |
| |||
0 commit comments