From 182a0299993b38e04ee053158f71b2500c59eb09 Mon Sep 17 00:00:00 2001 From: Rong Ma Date: Tue, 14 May 2024 09:43:10 +0800 Subject: [PATCH] [GLUTEN-5724][VL] Remove redundant counter for calculating VeloxShuffleWriter spill time (#5725) --- cpp/core/shuffle/LocalPartitionWriter.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpp/core/shuffle/LocalPartitionWriter.cc b/cpp/core/shuffle/LocalPartitionWriter.cc index b2c4e85b6792..0582ce0e59f6 100644 --- a/cpp/core/shuffle/LocalPartitionWriter.cc +++ b/cpp/core/shuffle/LocalPartitionWriter.cc @@ -44,7 +44,6 @@ class LocalPartitionWriter::LocalSpiller { codec_(codec) {} arrow::Status spill(uint32_t partitionId, std::unique_ptr payload) { - ScopedTimer timer(&spillTime_); // Check spill Type. if (payload->type() != Payload::kUncompressed) { return arrow::Status::Invalid( @@ -317,8 +316,6 @@ class LocalPartitionWriter::PayloadCache { arrow::Result> spill(const std::string& spillFile, arrow::MemoryPool* pool, arrow::util::Codec* codec) { - ScopedTimer timer(&spillTime_); - std::shared_ptr diskSpill = nullptr; ARROW_ASSIGN_OR_RAISE(auto os, arrow::io::FileOutputStream::Open(spillFile, true)); ARROW_ASSIGN_OR_RAISE(auto start, os->Tell());