|
Packit Service |
20376f |
#include "clar_libgit2.h"
|
|
Packit Service |
20376f |
#include "helper__perf__do_merge.h"
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
/* This test requires a large repo with many files.
|
|
Packit Service |
20376f |
* It doesn't care about the contents, just the size.
|
|
Packit Service |
20376f |
*
|
|
Packit Service |
20376f |
* For now, we use the LibGit2 repo containing the
|
|
Packit Service |
20376f |
* source tree because it is already here.
|
|
Packit Service |
20376f |
*
|
|
Packit Service |
20376f |
* `find . | wc -l` reports 5128.
|
|
Packit Service |
20376f |
*
|
|
Packit Service |
20376f |
*/
|
|
Packit Service |
20376f |
#define SRC_REPO (cl_fixture("../.."))
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
/* We need 2 arbitrary commits within that repo
|
|
Packit Service |
20376f |
* that have a large number of changed files.
|
|
Packit Service |
20376f |
* Again, we don't care about the actual contents,
|
|
Packit Service |
20376f |
* just the size.
|
|
Packit Service |
20376f |
*
|
|
Packit Service |
20376f |
* For now, we use these public branches:
|
|
Packit Service |
20376f |
* maint/v0.21 d853fb9f24e0fe63b3dce9fbc04fd9cfe17a030b Always checkout with case sensitive iterator
|
|
Packit Service |
20376f |
* maint/v0.22 1ce9ea3ba9b4fa666602d52a5281d41a482cc58b checkout tests: cleanup realpath impl on Win32
|
|
Packit Service |
20376f |
*
|
|
Packit Service |
20376f |
*/
|
|
Packit Service |
20376f |
#define ID_BRANCH_A "d853fb9f24e0fe63b3dce9fbc04fd9cfe17a030b"
|
|
Packit Service |
20376f |
#define ID_BRANCH_B "1ce9ea3ba9b4fa666602d52a5281d41a482cc58b"
|
|
Packit Service |
20376f |
|
|
Packit Service |
20376f |
void test_perf_merge__m1(void)
|
|
Packit Service |
20376f |
{
|
|
Packit Service |
20376f |
perf__do_merge(SRC_REPO, "m1", ID_BRANCH_A, ID_BRANCH_B);
|
|
Packit Service |
20376f |
}
|