diff options
author | Stan Hu <stanhu@gmail.com> | 2019-03-12 09:51:37 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-12 09:51:37 +0000 |
commit | f11030173b909c64aa23ce7482af8fcee8554be9 (patch) | |
tree | 992eee7e969a04dce7769c9338f280b35de282dd /Gemfile | |
parent | 32056fc7b282d1fd14e62939e721c7935492ec8f (diff) | |
download | gitlab-ce-f11030173b909c64aa23ce7482af8fcee8554be9.tar.gz |
Batch insert CI rspec_profiling data
Instead of inserting a row after each example to an external database,
we save the CI profiling reports into the `rspec_profiling` directory
and insert the data in the update-tests-metadata CI stage. This should
make each spec run faster and also reduce the number of PostgreSQL
connections needed by concurrent CI builds.
`scripts/insert-rspec-profiling-data` also inserts one file at a time
via the PostgreSQL COPY command for faster inserts. The one side effect
is that the `created_at` and `updated_at` timestamps aren't available
since they aren't generated in the CSV.
Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10154
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions