[ 
https://issues.apache.org/jira/browse/OAK-4923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588080#comment-15588080
 ] 

Michael Dürig commented on OAK-4923:
------------------------------------

Benchmarks here: 
https://issues.apache.org/jira/browse/OAK-4936?focusedCommentId=15588079&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15588079

> Improve segment deserialization performance
> -------------------------------------------
>
>                 Key: OAK-4923
>                 URL: https://issues.apache.org/jira/browse/OAK-4923
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Michael Dürig
>             Fix For: Segment Tar 0.0.16
>
>         Attachments: OAK-4923-01.patch, OAK-4923-02.patch
>
>
> The methods {{readReferencedSegments}} and {{readRecordNumberOffsets}} in 
> {{Segment}} compute the returned data every time they are called. While this 
> is a very clean implementation, this might force unexpected I/O operations, 
> since the "buffer" the data is read from usually is a memory-mapped file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to