[jira] [Updated] (JOHNZON-403) Improve performance when parsing large Strings

2024-07-16 Thread Chris Wells (Jira)


 [ 
https://issues.apache.org/jira/browse/JOHNZON-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Wells updated JOHNZON-403:

Reporter: Markus Jung  (was: Markus Jung)

> Improve performance when parsing large Strings
> --
>
> Key: JOHNZON-403
> URL: https://issues.apache.org/jira/browse/JOHNZON-403
> Project: Johnzon
>  Issue Type: Improvement
>  Components: Core
>Reporter: Markus Jung
>Assignee: Markus Jung
>Priority: Minor
> Fix For: 2.0.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> when a string larger than the value buffer size is encountered the buffer 
> gets resized (recreated and existing content is copied to a new, larger 
> buffer)
> This is obviously a quite expensive thing to do, we should instead just keep 
> track of existing (already full) buffers and create new ones as we need to
> See https://lists.apache.org/thread/h9wj9vb8p729xyy7qzj6t1cbvdrv2nm4 for 
> romains initial idea



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (JOHNZON-403) Improve performance when parsing large Strings

2024-04-01 Thread Romain Manni-Bucau (Jira)


 [ 
https://issues.apache.org/jira/browse/JOHNZON-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau updated JOHNZON-403:
---
Fix Version/s: 2.0.1
   (was: 1.2.22)
   (was: 2.1.0)

> Improve performance when parsing large Strings
> --
>
> Key: JOHNZON-403
> URL: https://issues.apache.org/jira/browse/JOHNZON-403
> Project: Johnzon
>  Issue Type: Improvement
>  Components: Core
>Reporter: Markus Jung
>Assignee: Markus Jung
>Priority: Minor
> Fix For: 2.0.1
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> when a string larger than the value buffer size is encountered the buffer 
> gets resized (recreated and existing content is copied to a new, larger 
> buffer)
> This is obviously a quite expensive thing to do, we should instead just keep 
> track of existing (already full) buffers and create new ones as we need to
> See https://lists.apache.org/thread/h9wj9vb8p729xyy7qzj6t1cbvdrv2nm4 for 
> romains initial idea



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (JOHNZON-403) Improve performance when parsing large Strings

2024-02-10 Thread Markus Jung (Jira)


 [ 
https://issues.apache.org/jira/browse/JOHNZON-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Jung updated JOHNZON-403:

Fix Version/s: 1.2.22

> Improve performance when parsing large Strings
> --
>
> Key: JOHNZON-403
> URL: https://issues.apache.org/jira/browse/JOHNZON-403
> Project: Johnzon
>  Issue Type: Improvement
>  Components: Core
>Reporter: Markus Jung
>Assignee: Markus Jung
>Priority: Minor
> Fix For: 1.2.22, 2.1.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> when a string larger than the value buffer size is encountered the buffer 
> gets resized (recreated and existing content is copied to a new, larger 
> buffer)
> This is obviously a quite expensive thing to do, we should instead just keep 
> track of existing (already full) buffers and create new ones as we need to
> See https://lists.apache.org/thread/h9wj9vb8p729xyy7qzj6t1cbvdrv2nm4 for 
> romains initial idea



--
This message was sent by Atlassian Jira
(v8.20.10#820010)