LuciferYang commented on a change in pull request #33556:
URL: https://github.com/apache/spark/pull/33556#discussion_r680706523
##########
File path: core/benchmarks/DiskBlockObjectWriterCloseMethodBenchmark-results.txt
##########
@@ -0,0 +1,48 @@
+================================================================================================
+emptyDataBuffer
Review comment:
Although the else branch is entered only when 'objectsWritten = = 0',
there still seem to be some performance differences between the `close` and
`revertPartialWritesAndClose` method.
I run the bench with ssd,I don't know if there will be a more obvious
difference if HDD is used
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]