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> |
||
|---|---|---|
| .. | ||
| gitea-v1.6.4.mssql.sql.gz | ||
| gitea-v1.6.4.mysql.sql.gz | ||
| gitea-v1.6.4.postgres.sql.gz | ||
| gitea-v1.6.4.sqlite3.sql.gz | ||
| gitea-v1.7.0.mssql.sql.gz | ||
| gitea-v1.7.0.mysql.sql.gz | ||
| gitea-v1.7.0.postgres.sql.gz | ||
| gitea-v1.7.0.sqlite3.sql.gz | ||
| migration_test.go | ||