You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2023/10/27 15:13:00 UTC

[jira] [Resolved] (CAMEL-20051) camel-core: fallback conversions are not cached

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

Otavio Rodolfo Piske resolved CAMEL-20051.
------------------------------------------
    Fix Version/s: 4.2.0
         Assignee: Otavio Rodolfo Piske
       Resolution: Fixed

Fixed with the linked PRs. 

> camel-core: fallback conversions are not cached
> -----------------------------------------------
>
>                 Key: CAMEL-20051
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20051
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 4.2.0
>
>
> [~aldettinger] reported that the performance test results from Camel Quarkus are showing a significant performance regression after upgrading to 4.0.1 and 4.1.0. 
> In Camel 4.1.0, the reasons for this seems to be related to the new type converter. Apparently we 
> * [are not caching misses|https://github.com/apache/camel/blob/camel-4.1.0/core/camel-base/src/main/java/org/apache/camel/impl/converter/CoreTypeConverterRegistry.java#L438-L441].
> * [don't allow promotion of the ToStringTypeConverter fallback|https://github.com/apache/camel/blob/camel-4.1.0/core/camel-base/src/main/java/org/apache/camel/impl/converter/BaseTypeConverterRegistry.java#L297], which prevents it from being cached.



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