diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-02-28 12:11:32 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-03-10 16:28:59 +0100 |
commit | cc393dfca1bfd0fdc3fe032df5ea54e12f50cb9d (patch) | |
tree | d054d83cbddf11c59cfd8afd233ea006c5746d3e /test/buildtool/graph_traverser | |
parent | e45883f88fe02906abaee763146aee770e62ef05 (diff) | |
download | justbuild-cc393dfca1bfd0fdc3fe032df5ea54e12f50cb9d.tar.gz |
Profiling: start collecting informations per actions
... so far, which actions where considered, and which of those
were cached.
Diffstat (limited to 'test/buildtool/graph_traverser')
-rw-r--r-- | test/buildtool/graph_traverser/graph_traverser.test.hpp | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/test/buildtool/graph_traverser/graph_traverser.test.hpp b/test/buildtool/graph_traverser/graph_traverser.test.hpp index b3340ab9..2b10271e 100644 --- a/test/buildtool/graph_traverser/graph_traverser.test.hpp +++ b/test/buildtool/graph_traverser/graph_traverser.test.hpp @@ -201,7 +201,8 @@ class TestProject { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser const gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -277,7 +278,8 @@ class TestProject { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser const gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -327,7 +329,8 @@ class TestProject { .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser const gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -393,7 +396,8 @@ class TestProject { .apis = &full_apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser const gt_upload{clargs_update_cpp.gtargs, &full_context, @@ -422,7 +426,8 @@ class TestProject { .apis = &apis_known, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser const gt{ clargs.gtargs, &context_known, [](auto /*done*/, auto /*cv*/) {}}; auto const result = @@ -474,7 +479,8 @@ static void TestBlobsUploadedAndUsed( .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -532,7 +538,8 @@ static void TestEnvironmentVariablesSetAndUsed( .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -590,7 +597,8 @@ static void TestTreesUsed( .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -648,7 +656,8 @@ static void TestNestedTreesUsed( .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; GraphTraverser gt{ clargs.gtargs, &exec_context, [](auto /*done*/, auto /*cv*/) {}}; @@ -705,7 +714,8 @@ static void TestFlakyHelloWorldDetected( .apis = &apis, .remote_context = &remote_context, .statistics = &stats, - .progress = &progress}; + .progress = &progress, + .profile = std::nullopt}; { auto clargs = p.CmdLineArgs("_entry_points_ctimes"); |