1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/services/repository
Rowan Bohde 68731c07c5
Reduce integration test overhead (#32475)
In profiling integration tests, I found a couple places where per-test
overhead could be reduced:

* Avoiding disk IO by synchronizing instead of deleting & copying test
Git repository data. This saves ~100ms per test on my machine
* When flushing queues in `PrintCurrentTest`, invoke `FlushWithContext`
in a parallel.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-14 19:28:46 +00:00
..
archiver
commitstatus Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
files Fix git error handling (#32401) 2024-11-02 11:20:22 +00:00
adopt_test.go Reduce integration test overhead (#32475) 2024-11-14 19:28:46 +00:00
adopt.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
avatar_test.go
avatar.go
branch.go Fix git error handling (#32401) 2024-11-02 11:20:22 +00:00
cache.go
check.go
collaboration_test.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
collaboration.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
commit.go
contributors_graph_test.go
contributors_graph.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
create_test.go
create.go Add DEFAULT_MIRROR_REPO_UNITS and DEFAULT_TEMPLATE_REPO_UNITS options (#32416) 2024-11-11 00:11:00 +00:00
delete_test.go
delete.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
fork_test.go
fork.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
generate_test.go
generate.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00
hooks.go
init.go
lfs_test.go
lfs.go
license_test.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
license.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
main_test.go
migrate.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
push.go Fix broken releases when re-pushing tags (#32435) 2024-11-08 10:53:06 +08:00
repository_test.go
repository.go Support repo license (#24872) 2024-10-01 15:25:08 -04:00
review_test.go
review.go
setting.go
template.go
transfer_test.go
transfer.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 2024-11-07 11:28:11 +08:00