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());