- 22.08.2019 1 коммит
-
-
Alex Ives создал
-
- 19.08.2019 1 коммит
-
-
Matija Čupić создал
-
- 15.04.2019 1 коммит
-
-
gfyoung создал
Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
-
- 04.04.2019 1 коммит
-
-
Stan Hu создал
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26248 added support for deduplicating FindCommit requests using Gitaly ref name caching. However, not all endpoints were covered, and in one case the Gitaly wrapper wasn't actually surrounding the serialization step. We can safely cache ref names between FindCommit calls for #index and #show endpoints for merge requests and pipelines. This can significantly reduce the number of FindCommit requests.
-
- 02.04.2019 1 коммит
-
-
Stan Hu создал
For each pipeline, the controller will call `Pipeline#latest?` to determine if the pipeline's ref is the latest for that branch. Since it's likely that the same branches are being used in each pipeline, we can reduce Gitaly overhead by caching the results of the FindCommit call.
-
- 31.01.2019 1 коммит
-
-
Kamil Trzciński создал
-
- 28.01.2019 1 коммит
-
-
Kamil Trzciński создал
-
- 24.01.2019 1 коммит
-
-
- 19.12.2018 1 коммит
-
-
blackst0ne создал
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
-
- 28.09.2018 1 коммит
-
-
Michael Kozono создал
* Only truthy values are cached in Redis. * All values are cached in RequestStore and in an instance variable.
-
- 13.09.2018 1 коммит
-
-
- 25.07.2018 1 коммит
-
-
Yorick Peterse создал
This adds a database migration that creates routes for any projects and namespaces that don't already have one. We also remove the runtime code for dynamically creating routes, as this is no longer necessary.
-
- 05.07.2018 1 коммит
-
-
- 04.07.2018 1 коммит
-
-
Bob Van Landuyt создал
This adds Keyset pagination to GraphQL lists. PoC for that is pipelines on merge requests and projects. When paginating a list, the base-64 encoded id of the ordering field (in most cases the primary key) can be passed in the `before` or `after` GraphQL argument.
-
- 05.06.2018 1 коммит
-
-
Alexis Reigel создал
the ci status icons are generated client side, wo we don't need the static files anymore.
-
- 29.05.2018 1 коммит
-
-
Grzegorz Bizon создал
-
- 23.05.2018 2 коммита
-
-
Grzegorz Bizon создал
-
Grzegorz Bizon создал
-
- 22.05.2018 4 коммита
-
-
Grzegorz Bizon создал
-
Grzegorz Bizon создал
-
Grzegorz Bizon создал
-
-
- 21.05.2018 1 коммит
-
-
Grzegorz Bizon создал
-
- 17.05.2018 2 коммита
-
-
Yorick Peterse создал
When displaying a project's pipelines (Projects::PipelinesController#index) we now exclude the coverage data. This data was not used by the frontend, yet getting it would require one SQL query per pipeline. These queries in turn could be quite expensive on GitLab.com.
-
Yorick Peterse создал
When displaying the project pipelines dashboard we display a few tabs for different pipeline states. For every such tab we count the number of pipelines that belong to it. For large projects such as GitLab CE this means having to count over 80 000 rows, which can easily take between 70 and 100 milliseconds per query. To improve this we apply a technique we already use for search results: we limit the number of rows to count. The current limit is 1000, which means that if more than 1000 rows are present for a state we will show "1000+" instead of the exact number. The SQL queries used for this perform much better than a regular COUNT, even when a project has a lot of pipelines. Prior to these changes we would end up running a query like this: SELECT COUNT(*) FROM ci_pipelines WHERE project_id = 13083 AND status IN ('success', 'failed', 'canceled') This would produce a plan along the lines of the following: Aggregate (cost=3147.55..3147.56 rows=1 width=8) (actual time=501.413..501.413 rows=1 loops=1) Buffers: shared hit=17116 read=861 dirtied=2 -> Index Only Scan using index_ci_pipelines_on_project_id_and_ref_and_status_and_id on ci_pipelines (cost=0.56..2984.14 rows=65364 width=0) (actual time=0.095..490.263 rows=80388 loops=1) Index Cond: (project_id = 13083) Filter: ((status)::text = ANY ('{success,failed,canceled}'::text[])) Rows Removed by Filter: 2894 Heap Fetches: 353 Buffers: shared hit=17116 read=861 dirtied=2 Planning time: 1.409 ms Execution time: 501.519 ms Using the LIMIT count technique we instead run the following query: SELECT COUNT(*) FROM ( SELECT 1 FROM ci_pipelines WHERE project_id = 13083 AND status IN ('success', 'failed', 'canceled') LIMIT 1001 ) for_count This query produces the following plan: Aggregate (cost=58.77..58.78 rows=1 width=8) (actual time=1.726..1.727 rows=1 loops=1) Buffers: shared hit=169 read=15 -> Limit (cost=0.56..46.25 rows=1001 width=4) (actual time=0.164..1.570 rows=1001 loops=1) Buffers: shared hit=169 read=15 -> Index Only Scan using index_ci_pipelines_on_project_id_and_ref_and_status_and_id on ci_pipelines (cost=0.56..2984.14 rows=65364 width=4) (actual time=0.162..1.426 rows=1001 loops=1) Index Cond: (project_id = 13083) Filter: ((status)::text = ANY ('{success,failed,canceled}'::text[])) Rows Removed by Filter: 9 Heap Fetches: 10 Buffers: shared hit=169 read=15 Planning time: 1.832 ms Execution time: 1.821 ms While this query still uses a Filter for the "status" field the number of rows that it may end up filtering (at most 1001) is small enough that an additional index does not appear to be necessary at this time. See https://gitlab.com/gitlab-org/gitlab-ce/issues/43132#note_68659234 for more information.
-
- 02.05.2018 2 коммита
-
-
Matija Čupić создал
-
Kamil Trzciński создал
-
- 19.12.2017 1 коммит
-
-
Zeger-Jan van de Weg создал
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
-
- 27.10.2017 1 коммит
-
-
Zeger-Jan van de Weg создал
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
-
- 20.10.2017 1 коммит
-
-
Jacopo создал
-
- 16.10.2017 1 коммит
-
-
Zeger-Jan van de Weg создал
Previous efforts were aimed at detecting N + 1 queries, general regressions are hard to find and mitigate.
-
- 03.10.2017 1 коммит
-
-
Mike Greiling создал
-
- 03.08.2017 1 коммит
-
-
Robert Speicher создал
-
- 01.08.2017 1 коммит
-
-
Robert Speicher создал
-
- 18.07.2017 1 коммит
-
-
Lin Jen-Shin создал
-
- 04.07.2017 1 коммит
-
-
Lin Jen-Shin создал
-
- 13.06.2017 1 коммит
-
-
Kamil Trzcinski создал
-
- 10.06.2017 1 коммит
-
-
Oswaldo Ferreira создал
-
- 17.05.2017 1 коммит
-
-
Z.J. van de Weg создал
The pipeline was quite meagre in both stages and the number of groups. This has been improved. Performance is not yet optimal, but to limit this from sliding further this slippery slope, a hard limit has been set.
-
- 06.05.2017 1 коммит
-
-
Zeger-Jan van de Weg создал
-