From d44c23c9404ca7f4dd307574a76fc2ad73cc30a7 Mon Sep 17 00:00:00 2001 From: Lasse Westh-Nielsen Date: Tue, 8 Oct 2024 15:33:01 +0200 Subject: [PATCH] renaming side effect timing --- .../algorithms/machinery/AlgorithmProcessingTimings.java | 6 +++--- .../machinery/AlgorithmProcessingTimingsBuilder.java | 8 ++++---- .../machinery/DefaultAlgorithmProcessingTemplate.java | 2 +- .../machinery/DefaultAlgorithmProcessingTemplateTest.java | 4 ++-- .../AlphaHarmonicCentralityResultBuilderForWriteMode.java | 2 +- .../ArticulationPointsResultBuilderForWriteMode.java | 2 +- .../centrality/CelfResultBuilderForWriteMode.java | 2 +- .../GenericCentralityResultBuilderForWriteMode.java | 2 +- .../centrality/PageRankResultBuilderForWriteMode.java | 2 +- .../ArticulationPointsResultBuilderForMutateMode.java | 2 +- .../centrality/stubs/CelfResultBuilderForMutateMode.java | 2 +- .../GenericCentralityResultBuilderForMutateMode.java | 2 +- .../stubs/IndirectExposureResultBuilderForMutateMode.java | 2 +- .../stubs/PageRankResultBuilderForMutateMode.java | 2 +- .../community/K1ColoringResultBuilderForWriteMode.java | 2 +- .../community/KCoreResultBuilderForWriteMode.java | 2 +- .../community/KMeansResultBuilderForWriteMode.java | 2 +- .../LabelPropagationResultBuilderForWriteMode.java | 2 +- .../community/LccResultBuilderForWriteMode.java | 2 +- .../community/LeidenResultBuilderForWriteMode.java | 2 +- .../community/LouvainResultBuilderForWriteMode.java | 2 +- .../ModularityOptimizationResultBuilderForWriteMode.java | 2 +- .../community/SccAlphaResultBuilderForWriteMode.java | 2 +- .../community/SccResultBuilderForWriteMode.java | 2 +- .../community/TriangleCountResultBuilderForWriteMode.java | 2 +- .../community/WccResultBuilderForWriteMode.java | 2 +- .../stubs/ApproxMaxKCutResultBuilderForMutateMode.java | 2 +- .../stubs/K1ColoringResultBuilderForMutateMode.java | 2 +- .../community/stubs/KCoreResultBuilderForMutateMode.java | 2 +- .../community/stubs/KMeansResultBuilderForMutateMode.java | 2 +- .../stubs/LabelPropagationResultBuilderForMutateMode.java | 2 +- .../community/stubs/LccResultBuilderForMutateMode.java | 2 +- .../community/stubs/LeidenResultBuilderForMutateMode.java | 2 +- .../stubs/LouvainResultBuilderForMutateMode.java | 2 +- .../ModularityOptimizationResultBuilderForMutateMode.java | 2 +- .../community/stubs/SccResultBuilderForMutateMode.java | 2 +- .../stubs/TriangleCountResultBuilderForMutateMode.java | 2 +- .../community/stubs/WccResultBuilderForMutateMode.java | 2 +- .../embeddings/FastRPResultBuilderForWriteMode.java | 2 +- .../embeddings/GraphSageResultBuilderForWriteMode.java | 2 +- .../embeddings/Node2VecResultBuilderForWriteMode.java | 2 +- .../stubs/FastRPResultBuilderForMutateMode.java | 2 +- .../stubs/GraphSageResultBuilderForMutateMode.java | 2 +- .../stubs/HashGnnResultBuilderForMutateMode.java | 2 +- .../stubs/Node2VecResultBuilderForMutateMode.java | 2 +- .../machinelearning/KgeResultBuilderForWriteMode.java | 2 +- .../stubs/KgeResultBuilderForMutateMode.java | 2 +- .../SplitRelationshipsResultBuilderForMutateMode.java | 2 +- .../ScalePropertiesResultBuilderForWriteMode.java | 2 +- .../stubs/CollapsePathResultBuilderForMutateMode.java | 2 +- .../stubs/IndexInverseResultBuilderForMutateMode.java | 2 +- .../stubs/ScalePropertiesResultBuilderForMutateMode.java | 2 +- .../stubs/ToUndirectedResultBuilderForMutateMode.java | 2 +- .../pathfinding/BellmanFordResultBuilderForWriteMode.java | 2 +- .../KSpanningTreeResultBuilderForWriteMode.java | 2 +- .../PathFindingResultBuilderForMutateMode.java | 2 +- .../pathfinding/PathFindingResultBuilderForWriteMode.java | 2 +- .../SpanningTreeResultBuilderForWriteMode.java | 2 +- .../pathfinding/SteinerTreeResultBuilderForWriteMode.java | 2 +- .../stubs/BellmanFordResultBuilderForMutateMode.java | 2 +- .../BreadthFirstSearchResultBuilderForMutateMode.java | 2 +- .../stubs/DepthFirstSearchResultBuilderForMutateMode.java | 2 +- .../stubs/RandomWalkResultBuilderForMutateMode.java | 2 +- .../stubs/SpanningTreeResultBuilderForMutateMode.java | 2 +- .../stubs/SteinerTreeResultBuilderForMutateMode.java | 2 +- .../FilteredNodeSimilarityResultBuilderForMutateMode.java | 2 +- .../NodeSimilarityResultBuilderForMutateMode.java | 2 +- .../algorithms/centrality/AlphaHarmonicWriteResult.java | 2 +- .../algorithms/centrality/CELFMutateResult.java | 2 +- .../procedures/algorithms/centrality/CELFWriteResult.java | 2 +- .../algorithms/centrality/CentralityWriteResult.java | 2 +- .../centrality/IndirectExposureMutateResult.java | 2 +- .../algorithms/centrality/PageRankMutateResult.java | 2 +- .../algorithms/centrality/PageRankWriteResult.java | 2 +- .../algorithms/community/AlphaSccWriteResult.java | 2 +- .../algorithms/community/ApproxMaxKCutMutateResult.java | 2 +- .../algorithms/community/K1ColoringMutateResult.java | 2 +- .../algorithms/community/K1ColoringWriteResult.java | 2 +- .../community/KCoreDecompositionMutateResult.java | 2 +- .../community/KCoreDecompositionWriteResult.java | 2 +- .../algorithms/community/KmeansMutateResult.java | 2 +- .../algorithms/community/KmeansWriteResult.java | 2 +- .../community/LabelPropagationMutateResult.java | 2 +- .../algorithms/community/LabelPropagationWriteResult.java | 2 +- .../algorithms/community/LeidenMutateResult.java | 2 +- .../algorithms/community/LeidenWriteResult.java | 2 +- .../community/LocalClusteringCoefficientMutateResult.java | 2 +- .../community/LocalClusteringCoefficientWriteResult.java | 2 +- .../algorithms/community/LouvainMutateResult.java | 2 +- .../algorithms/community/LouvainWriteResult.java | 2 +- .../community/ModularityOptimizationMutateResult.java | 2 +- .../community/ModularityOptimizationWriteResult.java | 2 +- .../procedures/algorithms/community/SccMutateResult.java | 2 +- .../procedures/algorithms/community/SccWriteResult.java | 2 +- .../algorithms/community/TriangleCountMutateResult.java | 2 +- .../algorithms/community/TriangleCountWriteResult.java | 2 +- .../procedures/algorithms/community/WccMutateResult.java | 2 +- .../procedures/algorithms/community/WccWriteResult.java | 2 +- .../miscellaneous/CollapsePathMutateResult.java | 2 +- .../miscellaneous/IndexInverseMutateResult.java | 2 +- .../miscellaneous/ScalePropertiesMutateResult.java | 2 +- .../miscellaneous/ScalePropertiesWriteResult.java | 2 +- .../miscellaneous/ToUndirectedMutateResult.java | 2 +- .../algorithms/machinelearning/KGEMutateResult.java | 2 +- .../algorithms/machinelearning/KGEWriteResult.java | 2 +- .../machinelearning/SplitRelationshipsMutateResult.java | 2 +- .../embeddings/DefaultNodeEmbeddingMutateResult.java | 2 +- .../embeddings/DefaultNodeEmbeddingsWriteResult.java | 2 +- .../algorithms/embeddings/Node2VecMutateResult.java | 2 +- .../algorithms/embeddings/Node2VecWriteResult.java | 2 +- .../procedures/algorithms/similarity/KnnMutateResult.java | 4 ++-- .../procedures/algorithms/similarity/KnnStatsResult.java | 2 +- .../procedures/algorithms/similarity/KnnWriteResult.java | 4 ++-- .../algorithms/similarity/SimilarityMutateResult.java | 2 +- .../algorithms/similarity/SimilarityStatsResult.java | 2 +- .../algorithms/similarity/SimilarityWriteResult.java | 4 ++-- ...eClassificationPredictPipelineMutateResultBuilder.java | 2 +- ...deClassificationPredictPipelineWriteResultBuilder.java | 2 +- .../gds/procedures/pipelines/PredictMutateResult.java | 2 +- .../org/neo4j/gds/procedures/pipelines/WriteResult.java | 2 +- 120 files changed, 129 insertions(+), 129 deletions(-) diff --git a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimings.java b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimings.java index 713c841468..c7545715ba 100644 --- a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimings.java +++ b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimings.java @@ -25,11 +25,11 @@ public class AlgorithmProcessingTimings { public final long preProcessingMillis; public final long computeMillis; - public final long mutateOrWriteMillis; + public final long sideEffectMillis; // rename - AlgorithmProcessingTimings(long preProcessingMillis, long computeMillis, long mutateOrWriteMillis) { + AlgorithmProcessingTimings(long preProcessingMillis, long computeMillis, long sideEffectMillis) { this.preProcessingMillis = preProcessingMillis; this.computeMillis = computeMillis; - this.mutateOrWriteMillis = mutateOrWriteMillis; + this.sideEffectMillis = sideEffectMillis; } } diff --git a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimingsBuilder.java b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimingsBuilder.java index fb4043350d..88b851350b 100644 --- a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimingsBuilder.java +++ b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/AlgorithmProcessingTimingsBuilder.java @@ -29,7 +29,7 @@ class AlgorithmProcessingTimingsBuilder { // timings protected long preProcessingMillis = NOT_AVAILABLE; protected long computeMillis = NOT_AVAILABLE; - protected long mutateOrWriteMillis = NOT_AVAILABLE; + protected long sideEffectMillis = NOT_AVAILABLE; // rename public void withPreProcessingMillis(long preProcessingMillis) { this.preProcessingMillis = preProcessingMillis; @@ -39,15 +39,15 @@ public void withComputeMillis(long computeMillis) { this.computeMillis = computeMillis; } - public void withMutateOrWriteMillis(long mutateOrWriteMillis) { - this.mutateOrWriteMillis = mutateOrWriteMillis; + public void withSideEffectMillis(long sideEffectMillis) { + this.sideEffectMillis = sideEffectMillis; } AlgorithmProcessingTimings build() { return new AlgorithmProcessingTimings( preProcessingMillis, computeMillis, - mutateOrWriteMillis + sideEffectMillis ); } } diff --git a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplate.java b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplate.java index 3977323e6a..ed578f8482 100644 --- a/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplate.java +++ b/applications/algorithms/machinery/src/main/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplate.java @@ -293,7 +293,7 @@ private Optional processSideEffect( ) { if (sideEffect.isEmpty()) return Optional.empty(); - try (var ignored = ProgressTimer.start(timingsBuilder::withMutateOrWriteMillis)) { + try (var ignored = ProgressTimer.start(timingsBuilder::withSideEffectMillis)) { // rename return sideEffect.get().process(graphResources, result); } } diff --git a/applications/algorithms/machinery/src/test/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplateTest.java b/applications/algorithms/machinery/src/test/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplateTest.java index 6b9557a15d..8a977ad129 100644 --- a/applications/algorithms/machinery/src/test/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplateTest.java +++ b/applications/algorithms/machinery/src/test/java/org/neo4j/gds/applications/algorithms/machinery/DefaultAlgorithmProcessingTemplateTest.java @@ -78,7 +78,7 @@ void shouldDoFourStepProcess() { assertThat(result).hasValue("some result"); assertThat(timings.preProcessingMillis).isGreaterThan(-1); assertThat(timings.computeMillis).isGreaterThan(-1); - assertThat(timings.mutateOrWriteMillis).isGreaterThan(-1); + assertThat(timings.sideEffectMillis).isGreaterThan(-1); assertThat(metadata).hasValue("metadata from some side effect"); return "some rendered result"; @@ -129,7 +129,7 @@ void shouldSkipSideEffect() { assertThat(result).hasValue("some other result"); assertThat(timings.preProcessingMillis).isGreaterThan(-1); assertThat(timings.computeMillis).isGreaterThan(-1); - assertThat(timings.mutateOrWriteMillis).isEqualTo(-1); // no side effect, no timing + assertThat(timings.sideEffectMillis).isEqualTo(-1); // no side effect, no timing assertThat(metadata).isEmpty(); return "some other rendered result"; diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicCentralityResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicCentralityResultBuilderForWriteMode.java index 5eff843f51..5cf4a96310 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicCentralityResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicCentralityResultBuilderForWriteMode.java @@ -59,7 +59,7 @@ public Stream build( graph.nodeCount(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.writeProperty(), centralityDistributionAndTiming.getLeft() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/ArticulationPointsResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/ArticulationPointsResultBuilderForWriteMode.java index 23c41fbe95..2193da6fe3 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/ArticulationPointsResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/ArticulationPointsResultBuilderForWriteMode.java @@ -48,7 +48,7 @@ public Stream build( new ArticulationPointsWriteResult( bitSet.cardinality(), metadata.map(NodePropertiesWritten::value).orElseThrow(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, timings.computeMillis, configuration.toMap() ) diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CelfResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CelfResultBuilderForWriteMode.java index b216ad563c..4f0119734b 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CelfResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CelfResultBuilderForWriteMode.java @@ -47,7 +47,7 @@ public Stream build( return Stream.of( new CELFWriteResult( - timings.mutateOrWriteMillis, + timings.sideEffectMillis, nodePropertiesWritten.orElseThrow().value(), timings.computeMillis, celfResult.totalSpread(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/GenericCentralityResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/GenericCentralityResultBuilderForWriteMode.java index 129ceffa24..447e9f8618 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/GenericCentralityResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/GenericCentralityResultBuilderForWriteMode.java @@ -55,7 +55,7 @@ CentralityWriteResu timings.preProcessingMillis, timings.computeMillis, centralityDistributionAndTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, centralityDistributionAndTiming.getLeft(), configurationMap ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankResultBuilderForWriteMode.java index 8d392193e7..f2cd8e8bb3 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankResultBuilderForWriteMode.java @@ -65,7 +65,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, pageRankDistribution.postProcessingMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configurationMap ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/ArticulationPointsResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/ArticulationPointsResultBuilderForMutateMode.java index 3477682dc1..640f0ea842 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/ArticulationPointsResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/ArticulationPointsResultBuilderForMutateMode.java @@ -46,7 +46,7 @@ public ArticulationPointsMutateResult build( return new ArticulationPointsMutateResult( bitSet.cardinality(), metadata.map(NodePropertiesWritten::value).orElseThrow(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, timings.computeMillis, configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/CelfResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/CelfResultBuilderForMutateMode.java index 33af483253..6ad0f3b2c0 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/CelfResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/CelfResultBuilderForMutateMode.java @@ -47,7 +47,7 @@ public CELFMutateResult build( .withNodeCount(graph.nodeCount()) .withPreProcessingMillis(timings.preProcessingMillis) .withComputeMillis(timings.computeMillis) - .withMutateMillis(timings.mutateOrWriteMillis) + .withMutateMillis(timings.sideEffectMillis) .withNodePropertiesWritten(metadata.orElseThrow().value()) .withConfig(configuration) .build(); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/GenericCentralityResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/GenericCentralityResultBuilderForMutateMode.java index 6bb9b6b447..fc763eac44 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/GenericCentralityResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/GenericCentralityResultBuilderForMutateMode.java @@ -59,7 +59,7 @@ CentralityMutateRes timings.preProcessingMillis, timings.computeMillis, centralityDistributionAndTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, centralityDistributionAndTiming.getLeft(), configurationMap ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/IndirectExposureResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/IndirectExposureResultBuilderForMutateMode.java index 9c63455b1a..a49409db09 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/IndirectExposureResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/IndirectExposureResultBuilderForMutateMode.java @@ -50,7 +50,7 @@ public IndirectExposureMutateResult build( indirectExposureResult.didConverge(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/PageRankResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/PageRankResultBuilderForMutateMode.java index b7bb131717..bb6f9d5062 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/PageRankResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/stubs/PageRankResultBuilderForMutateMode.java @@ -65,7 +65,7 @@ public PageRankMutateResult build( timings.preProcessingMillis, timings.computeMillis, pageRankDistribution.postProcessingMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configurationMap ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/K1ColoringResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/K1ColoringResultBuilderForWriteMode.java index 54fdf140c7..6235270a72 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/K1ColoringResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/K1ColoringResultBuilderForWriteMode.java @@ -50,7 +50,7 @@ public Stream build( var k1ColoringWriteResult = new K1ColoringWriteResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, k1ColoringResult.colors().size(), usedColors, k1ColoringResult.ranIterations(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KCoreResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KCoreResultBuilderForWriteMode.java index e110a358df..23f9970724 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KCoreResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KCoreResultBuilderForWriteMode.java @@ -48,7 +48,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, 0, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KMeansResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KMeansResultBuilderForWriteMode.java index 51e1380f2d..2c89fec931 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KMeansResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/KMeansResultBuilderForWriteMode.java @@ -75,7 +75,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), communitySummary, centroids, diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LabelPropagationResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LabelPropagationResultBuilderForWriteMode.java index 6aaa2eb535..9fd7589b1f 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LabelPropagationResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LabelPropagationResultBuilderForWriteMode.java @@ -73,7 +73,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, nodePropertiesWrittenAndConvertedNodePropertyValues.getLeft().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LccResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LccResultBuilderForWriteMode.java index 56fc7f193a..c1652d5449 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LccResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LccResultBuilderForWriteMode.java @@ -50,7 +50,7 @@ public Stream build( localClusteringCoefficientResult.localClusteringCoefficients().size(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LeidenResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LeidenResultBuilderForWriteMode.java index c6d234a0e0..aa0a027bb5 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LeidenResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LeidenResultBuilderForWriteMode.java @@ -75,7 +75,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, nodePropertiesWrittenAndConvertedNodePropertyValues.getLeft().value(), communitySummary, Arrays.stream(leidenResult.modularities()).boxed().collect(Collectors.toList()), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LouvainResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LouvainResultBuilderForWriteMode.java index 3dadae037f..23a34c6f78 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LouvainResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/LouvainResultBuilderForWriteMode.java @@ -75,7 +75,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/ModularityOptimizationResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/ModularityOptimizationResultBuilderForWriteMode.java index 5e681614c2..451b707fb7 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/ModularityOptimizationResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/ModularityOptimizationResultBuilderForWriteMode.java @@ -68,7 +68,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, modularityOptimizationResult.asNodeProperties().nodeCount(), modularityOptimizationResult.didConverge(), modularityOptimizationResult.ranIterations(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccAlphaResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccAlphaResultBuilderForWriteMode.java index 7abf020536..ec4a68494b 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccAlphaResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccAlphaResultBuilderForWriteMode.java @@ -67,7 +67,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, hugeLongArray.size(), communityStatisticsWithTiming.getLeft(), (long) communityDistribution.get("max"), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccResultBuilderForWriteMode.java index 609ba79f99..137e181c5f 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/SccResultBuilderForWriteMode.java @@ -73,7 +73,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/TriangleCountResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/TriangleCountResultBuilderForWriteMode.java index c3410dfbc4..0dc972adbe 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/TriangleCountResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/TriangleCountResultBuilderForWriteMode.java @@ -47,7 +47,7 @@ public Stream build( graph.nodeCount(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/WccResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/WccResultBuilderForWriteMode.java index 3417861a09..ff8d280d51 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/WccResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/WccResultBuilderForWriteMode.java @@ -71,7 +71,7 @@ public Stream build( timings.preProcessingMillis, timings.computeMillis, communityStatistics.computeMilliseconds(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, nodePropertiesWrittenAndConvertedNodePropertyValues.getLeft().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ApproxMaxKCutResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ApproxMaxKCutResultBuilderForMutateMode.java index 2cb1d8c874..f3e86dd236 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ApproxMaxKCutResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ApproxMaxKCutResultBuilderForMutateMode.java @@ -50,7 +50,7 @@ public ApproxMaxKCutMutateResult build( timings.preProcessingMillis, timings.computeMillis, 0, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configurationMap ); } diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/K1ColoringResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/K1ColoringResultBuilderForMutateMode.java index 8efe929b1c..6086b60a0c 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/K1ColoringResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/K1ColoringResultBuilderForMutateMode.java @@ -52,7 +52,7 @@ public K1ColoringMutateResult build( return new K1ColoringMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, k1ColoringResult.colors().size(), usedColors, k1ColoringResult.ranIterations(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KCoreResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KCoreResultBuilderForMutateMode.java index 8787b9cad8..568f74963a 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KCoreResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KCoreResultBuilderForMutateMode.java @@ -48,7 +48,7 @@ public KCoreDecompositionMutateResult build( timings.preProcessingMillis, timings.computeMillis, 0, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); } diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KMeansResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KMeansResultBuilderForMutateMode.java index 10d9bad97c..cd861912cd 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KMeansResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/KMeansResultBuilderForMutateMode.java @@ -74,7 +74,7 @@ public KmeansMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), communityStatisticsWithTiming.getMiddle(), centroids, diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LabelPropagationResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LabelPropagationResultBuilderForMutateMode.java index 09362e326e..52dc1fa533 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LabelPropagationResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LabelPropagationResultBuilderForMutateMode.java @@ -69,7 +69,7 @@ public LabelPropagationMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LccResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LccResultBuilderForMutateMode.java index 25ed9d204e..f829b6e524 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LccResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LccResultBuilderForMutateMode.java @@ -47,7 +47,7 @@ public LocalClusteringCoefficientMutateResult build( localClusteringCoefficientResult.localClusteringCoefficients().size(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LeidenResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LeidenResultBuilderForMutateMode.java index 4112c84903..f0ec1a665d 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LeidenResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LeidenResultBuilderForMutateMode.java @@ -72,7 +72,7 @@ public LeidenMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, nodePropertiesWrittenAndConvertedNodePropertyValues.getLeft().value(), communityStatisticsWithTiming.getMiddle(), Arrays.stream(leidenResult.modularities()).boxed().collect(Collectors.toList()), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LouvainResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LouvainResultBuilderForMutateMode.java index 344086bef5..95b12ec409 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LouvainResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/LouvainResultBuilderForMutateMode.java @@ -70,7 +70,7 @@ public LouvainMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ModularityOptimizationResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ModularityOptimizationResultBuilderForMutateMode.java index 9f15eea12f..392b40e010 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ModularityOptimizationResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/ModularityOptimizationResultBuilderForMutateMode.java @@ -65,7 +65,7 @@ public ModularityOptimizationMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, modularityOptimizationResult.asNodeProperties().nodeCount(), modularityOptimizationResult.didConverge(), modularityOptimizationResult.ranIterations(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/SccResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/SccResultBuilderForMutateMode.java index 269f3de26a..eddecf9418 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/SccResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/SccResultBuilderForMutateMode.java @@ -72,7 +72,7 @@ public SccMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/TriangleCountResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/TriangleCountResultBuilderForMutateMode.java index 7c16518556..801bdcd5d0 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/TriangleCountResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/TriangleCountResultBuilderForMutateMode.java @@ -47,7 +47,7 @@ public TriangleCountMutateResult build( graph.nodeCount(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/WccResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/WccResultBuilderForMutateMode.java index 929adaaeeb..aa08801b1f 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/WccResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/community/stubs/WccResultBuilderForMutateMode.java @@ -65,7 +65,7 @@ public WccMutateResult build( timings.preProcessingMillis, timings.computeMillis, communityStatisticsWithTiming.getRight(), - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/FastRPResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/FastRPResultBuilderForWriteMode.java index f7ed2c355c..20f94919c9 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/FastRPResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/FastRPResultBuilderForWriteMode.java @@ -48,7 +48,7 @@ public Stream build( nodePropertiesWritten.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/GraphSageResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/GraphSageResultBuilderForWriteMode.java index 8aca9501a3..c3cc95561d 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/GraphSageResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/GraphSageResultBuilderForWriteMode.java @@ -48,7 +48,7 @@ public Stream build( nodePropertiesWritten.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/Node2VecResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/Node2VecResultBuilderForWriteMode.java index 704a13c8d5..bb0709e8f7 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/Node2VecResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/Node2VecResultBuilderForWriteMode.java @@ -47,7 +47,7 @@ public Stream build( nodePropertiesWritten.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap(), node2VecResult.lossPerIteration() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/FastRPResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/FastRPResultBuilderForMutateMode.java index 03c5d0c200..aad4a64bba 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/FastRPResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/FastRPResultBuilderForMutateMode.java @@ -45,7 +45,7 @@ public DefaultNodeEmbeddingMutateResult build( metadata.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); } diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/GraphSageResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/GraphSageResultBuilderForMutateMode.java index 5804bca9da..21e5871006 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/GraphSageResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/GraphSageResultBuilderForMutateMode.java @@ -45,7 +45,7 @@ public DefaultNodeEmbeddingMutateResult build( metadata.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); } diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/HashGnnResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/HashGnnResultBuilderForMutateMode.java index 033cb7a925..d6d03cb239 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/HashGnnResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/HashGnnResultBuilderForMutateMode.java @@ -45,7 +45,7 @@ public DefaultNodeEmbeddingMutateResult build( metadata.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap() ); } diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/Node2VecResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/Node2VecResultBuilderForMutateMode.java index 4725462ec8..2ae81ee6fe 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/Node2VecResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/embeddings/stubs/Node2VecResultBuilderForMutateMode.java @@ -47,7 +47,7 @@ public Node2VecMutateResult build( metadata.orElseThrow().value(), timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.toMap(), node2VecResult.lossPerIteration() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/KgeResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/KgeResultBuilderForWriteMode.java index 268b96eed8..c1cc436c5c 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/KgeResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/KgeResultBuilderForWriteMode.java @@ -43,7 +43,7 @@ public Stream build( var kgeWriteResult = new KGEWriteResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/KgeResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/KgeResultBuilderForMutateMode.java index bbe725d605..4c979b3759 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/KgeResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/KgeResultBuilderForMutateMode.java @@ -43,7 +43,7 @@ public KGEMutateResult build( return new KGEMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/SplitRelationshipsResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/SplitRelationshipsResultBuilderForMutateMode.java index 5756ba7559..bbd6cc4116 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/SplitRelationshipsResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/machinelearning/stubs/SplitRelationshipsResultBuilderForMutateMode.java @@ -43,7 +43,7 @@ public SplitRelationshipsMutateResult build( return new SplitRelationshipsMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/ScalePropertiesResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/ScalePropertiesResultBuilderForWriteMode.java index 4b706b4c4c..892f5a5b0a 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/ScalePropertiesResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/ScalePropertiesResultBuilderForWriteMode.java @@ -52,7 +52,7 @@ public Stream build( shouldDisplayScalerStatistics ? scalePropertiesResult.scalerStatistics() : null, timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/CollapsePathResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/CollapsePathResultBuilderForMutateMode.java index 1b11b4630d..3581523c3d 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/CollapsePathResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/CollapsePathResultBuilderForMutateMode.java @@ -44,7 +44,7 @@ public CollapsePathMutateResult build( return new CollapsePathMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, singleTypeRelationships.topology().elementCount(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/IndexInverseResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/IndexInverseResultBuilderForMutateMode.java index ee0890e206..ab54a278b8 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/IndexInverseResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/IndexInverseResultBuilderForMutateMode.java @@ -44,7 +44,7 @@ public IndexInverseMutateResult build( return new IndexInverseMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, graph.relationshipCount(), configuration.toMap() diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ScalePropertiesResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ScalePropertiesResultBuilderForMutateMode.java index ac52587119..c6941f0069 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ScalePropertiesResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ScalePropertiesResultBuilderForMutateMode.java @@ -52,7 +52,7 @@ public ScalePropertiesMutateResult build( shouldDisplayScalerStatistics ? scalePropertiesResult.scalerStatistics() : null, timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.orElseThrow().value(), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ToUndirectedResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ToUndirectedResultBuilderForMutateMode.java index d64ab5abb8..2a7dd8ea37 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ToUndirectedResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/stubs/ToUndirectedResultBuilderForMutateMode.java @@ -43,7 +43,7 @@ public ToUndirectedMutateResult build( return new ToUndirectedMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, graph.relationshipCount(), metadata.orElseThrow().value(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/BellmanFordResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/BellmanFordResultBuilderForWriteMode.java index 3789bed99a..1c9d89a735 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/BellmanFordResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/BellmanFordResultBuilderForWriteMode.java @@ -43,7 +43,7 @@ public BellmanFordWriteResult build( builder.withPreProcessingMillis(timings.preProcessingMillis); builder.withComputeMillis(timings.computeMillis); - builder.withWriteMillis(timings.mutateOrWriteMillis); + builder.withWriteMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> builder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/KSpanningTreeResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/KSpanningTreeResultBuilderForWriteMode.java index 8c46694f37..37cdf29b8f 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/KSpanningTreeResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/KSpanningTreeResultBuilderForWriteMode.java @@ -48,7 +48,7 @@ public KSpanningTreeWriteResult build( builder.withPreProcessingMillis(timings.preProcessingMillis); builder.withComputeMillis(timings.computeMillis); - builder.withWriteMillis(timings.mutateOrWriteMillis); + builder.withWriteMillis(timings.sideEffectMillis); //builder.withNodePropertiesWritten(...); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForMutateMode.java index 4405009509..8c8c05dc92 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForMutateMode.java @@ -41,7 +41,7 @@ public PathFindingMutateResult build( timings.preProcessingMillis, timings.computeMillis, 0, // yeah, I don't understand it either :shrug: - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.map(rw -> rw.value()).orElse(0L), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForWriteMode.java index 0d79dd2d19..98a566b764 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/PathFindingResultBuilderForWriteMode.java @@ -42,7 +42,7 @@ public StandardWriteRelationshipsResult build( timings.preProcessingMillis, timings.computeMillis, 0, // yeah, I don't understand it either :shrug: - timings.mutateOrWriteMillis, + timings.sideEffectMillis, metadata.map(rw -> rw.value()).orElse(0L), configuration.toMap() ); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SpanningTreeResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SpanningTreeResultBuilderForWriteMode.java index 9989df60b1..68d534457f 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SpanningTreeResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SpanningTreeResultBuilderForWriteMode.java @@ -51,7 +51,7 @@ public SpanningTreeWriteResult build( builder.withComputeMillis(timings.computeMillis); builder.withPreProcessingMillis(timings.preProcessingMillis); - builder.withWriteMillis(timings.mutateOrWriteMillis); + builder.withWriteMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> builder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SteinerTreeResultBuilderForWriteMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SteinerTreeResultBuilderForWriteMode.java index 304915b5f7..37f793c590 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SteinerTreeResultBuilderForWriteMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/SteinerTreeResultBuilderForWriteMode.java @@ -42,7 +42,7 @@ public SteinerWriteResult build( builder.withPreProcessingMillis(timings.preProcessingMillis); builder.withComputeMillis(timings.computeMillis); - builder.withWriteMillis(timings.mutateOrWriteMillis); + builder.withWriteMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> builder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BellmanFordResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BellmanFordResultBuilderForMutateMode.java index b5d90130a9..2dbbb23fec 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BellmanFordResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BellmanFordResultBuilderForMutateMode.java @@ -43,7 +43,7 @@ public BellmanFordMutateResult build( resultBuilder.withPreProcessingMillis(timings.preProcessingMillis); resultBuilder.withComputeMillis(timings.computeMillis); - resultBuilder.withMutateMillis(timings.mutateOrWriteMillis); + resultBuilder.withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> resultBuilder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BreadthFirstSearchResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BreadthFirstSearchResultBuilderForMutateMode.java index bdb491aa5b..2ebf65586d 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BreadthFirstSearchResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/BreadthFirstSearchResultBuilderForMutateMode.java @@ -42,7 +42,7 @@ public PathFindingMutateResult build( .withConfig(configuration) .withPreProcessingMillis(timings.preProcessingMillis) .withComputeMillis(timings.computeMillis) - .withMutateMillis(timings.mutateOrWriteMillis); + .withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> resultBuilder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/DepthFirstSearchResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/DepthFirstSearchResultBuilderForMutateMode.java index c74ebe8fde..e286b152e6 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/DepthFirstSearchResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/DepthFirstSearchResultBuilderForMutateMode.java @@ -42,7 +42,7 @@ public PathFindingMutateResult build( .withConfig(configuration) .withPreProcessingMillis(timings.preProcessingMillis) .withComputeMillis(timings.computeMillis) - .withMutateMillis(timings.mutateOrWriteMillis); + .withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> resultBuilder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/RandomWalkResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/RandomWalkResultBuilderForMutateMode.java index 8a05d56385..8f536fb307 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/RandomWalkResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/RandomWalkResultBuilderForMutateMode.java @@ -42,7 +42,7 @@ public RandomWalkMutateResult build( .withConfig(configuration) .withPreProcessingMillis(timings.preProcessingMillis) .withComputeMillis(timings.computeMillis) - .withMutateMillis(timings.mutateOrWriteMillis); + .withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(nodePropertiesWritten -> resultBuilder.withNodePropertiesWritten(nodePropertiesWritten.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SpanningTreeResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SpanningTreeResultBuilderForMutateMode.java index afc6499d11..09752cf446 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SpanningTreeResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SpanningTreeResultBuilderForMutateMode.java @@ -51,7 +51,7 @@ public SpanningTreeMutateResult build( builder.withComputeMillis(timings.computeMillis); builder.withPreProcessingMillis(timings.preProcessingMillis); - builder.withMutateMillis(timings.mutateOrWriteMillis); + builder.withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> builder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SteinerTreeResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SteinerTreeResultBuilderForMutateMode.java index c5be5fe2a8..1c7ba33499 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SteinerTreeResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/pathfinding/stubs/SteinerTreeResultBuilderForMutateMode.java @@ -43,7 +43,7 @@ public SteinerMutateResult build( builder.withPreProcessingMillis(timings.preProcessingMillis); builder.withComputeMillis(timings.computeMillis); - builder.withMutateMillis(timings.mutateOrWriteMillis); + builder.withMutateMillis(timings.sideEffectMillis); metadata.ifPresent(rw -> builder.withRelationshipsWritten(rw.value())); diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/FilteredNodeSimilarityResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/FilteredNodeSimilarityResultBuilderForMutateMode.java index 38aecf6a34..305a0f49a5 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/FilteredNodeSimilarityResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/FilteredNodeSimilarityResultBuilderForMutateMode.java @@ -44,7 +44,7 @@ public SimilarityMutateResult build( return result.map(nodeSimilarityResult -> new SimilarityMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, nodeSimilarityResult.graphResult().comparedNodes(), metadata.orElseThrow().getLeft().value(), diff --git a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/NodeSimilarityResultBuilderForMutateMode.java b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/NodeSimilarityResultBuilderForMutateMode.java index 5eb7b4b3da..9fe2332221 100644 --- a/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/NodeSimilarityResultBuilderForMutateMode.java +++ b/procedures/algorithms-facade/src/main/java/org/neo4j/gds/procedures/algorithms/similarity/NodeSimilarityResultBuilderForMutateMode.java @@ -44,7 +44,7 @@ public SimilarityMutateResult build( return result.map(nodeSimilarityResult -> new SimilarityMutateResult( timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, nodeSimilarityResult.graphResult().comparedNodes(), metadata.orElseThrow().getLeft().value(), diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicWriteResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicWriteResult.java index 3ded3d5663..860190cbe2 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicWriteResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/AlphaHarmonicWriteResult.java @@ -58,7 +58,7 @@ static AlphaHarmonicWriteResult emptyFrom( 0, timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, configuration.writeProperty(), Collections.emptyMap() ); diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFMutateResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFMutateResult.java index 3deeedfcbc..ffc0937e6a 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFMutateResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFMutateResult.java @@ -54,7 +54,7 @@ public static Builder builder() { public static CELFMutateResult emptyFrom(AlgorithmProcessingTimings timings, Map configurationMap) { return new CELFMutateResult( - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, timings.computeMillis, 0, diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFWriteResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFWriteResult.java index 5167292e66..513fd8abd9 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFWriteResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CELFWriteResult.java @@ -54,7 +54,7 @@ public static Builder builder() { static CELFWriteResult emptyFrom(AlgorithmProcessingTimings timings, Map configurationMap) { return new CELFWriteResult( - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, timings.computeMillis, 0, diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CentralityWriteResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CentralityWriteResult.java index d751885a86..7bf57bae44 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CentralityWriteResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/CentralityWriteResult.java @@ -54,7 +54,7 @@ static CentralityWriteResult emptyFrom( timings.preProcessingMillis, timings.computeMillis, 0, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, Collections.emptyMap(), configurationMap ); diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/IndirectExposureMutateResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/IndirectExposureMutateResult.java index e24fe1a2f4..aab8e9c426 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/IndirectExposureMutateResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/IndirectExposureMutateResult.java @@ -41,7 +41,7 @@ public static IndirectExposureMutateResult emptyFrom( false, timings.preProcessingMillis, timings.computeMillis, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, configurationMap ); diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankMutateResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankMutateResult.java index 35241d3698..4859589196 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankMutateResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankMutateResult.java @@ -62,7 +62,7 @@ public static PageRankMutateResult emptyFrom(AlgorithmProcessingTimings timings, timings.preProcessingMillis, timings.computeMillis, 0, - timings.mutateOrWriteMillis, + timings.sideEffectMillis, 0, configurationMap ); diff --git a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankWriteResult.java b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankWriteResult.java index b1fa3eb815..a3b0e5af23 100644 --- a/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankWriteResult.java +++ b/procedures/facade-api/centrality-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/centrality/PageRankWriteResult.java @@ -63,7 +63,7 @@ static PageRankWriteResult emptyFrom(AlgorithmProcessingTimings timings, Map