[
https://issues.apache.org/jira/browse/IOTDB-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626450#comment-17626450
]
Liuxuxin commented on IOTDB-4791:
---------------------------------
Since the parsing method of path is different in 0.13 and master, I test the
performance of the constructor of `Path` in the two version. For each version,
the test program generates 1 million string, the length of each string is 40.
*CPU: Ryzen 5800H*
*OS: Windows 10 Home*
*Memory: 16 GB*
*Java Version: Oracle JDK 1.8.0_291*
master(3648dbea7acadd54c3fa9ce06fe): 4.88 s
rel/0.13(6147c6d5cdafdadc5bc6b08b4aa): 0.19s
The performance gap between them is 25x 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)