[
https://issues.apache.org/jira/browse/IOTDB-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626474#comment-17626474
]
Liuxuxin commented on IOTDB-4791:
---------------------------------
For TsFileIOWriter::endFile, I also run a test for both 0.13 and master. The
test program writes 1 millions chunk into a tsfile, then calls the endFile
method and records the time cost of this function.
*CPU: Ryzen 5800H*
*OS: Windows 10 Home*
*Memory: 16 GB*
*Java Version: Oracle JDK 1.8.0_291*
{*}Disk: WD SN730 500G{*}{*}{*}
master(3648dbea7acadd54c3fa9ce06fe): 4938 ms
rel/0.13(6147c6d5cdafdadc5bc6b08b4aa): 1311 ms
*The performance gap between them is 4x roughly.*
> readChunkMetadataAndConstructIndexTree is too slow for sealing TsFile
> ---------------------------------------------------------------------
>
> Key: IOTDB-4791
> URL: https://issues.apache.org/jira/browse/IOTDB-4791
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: Core/TsFile
> Reporter: yusicheng
> Assignee: Liuxuxin
> Priority: Major
> Attachments: image-2022-10-28-16-48-57-842.png
>
>
> !image-2022-10-28-16-48-57-842.png!
> you can see this method spend almost half time on Path:<init>, is there any
> possible to speed up this method?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)