[
https://issues.apache.org/jira/browse/SOLR-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-7110:
-----------------------------
Attachment: JavabinPerf.patch
Here is the result with adding a dry run and gc()
{noformat}
THREADS=1
####### test started w/o cache
return=0 THROUGHPUT=225835
####### test started with cache
return=0 THROUGHPUT=273074
cache: hits=18999981 lookups=19000000 size=19
%age improvement with cache :20
====DRY RUN ignore the last====
THREADS=1
####### test started w/o cache
return=0 THROUGHPUT=257665
####### test started with cache
return=0 THROUGHPUT=271296
cache: hits=18999981 lookups=19000000 size=19
%age improvement with cache :5
THREADS=2
####### test started w/o cache
return=0 THROUGHPUT=267881
####### test started with cache
return=0 THROUGHPUT=276090
cache: hits=18999981 lookups=19000000 size=19
%age improvement with cache :3
THREADS=3
####### test started w/o cache
return=0 THROUGHPUT=266737
####### test started with cache
return=0 THROUGHPUT=268744
cache: hits=18999981 lookups=19000000 size=19
%age improvement with cache :0
THREADS=4
####### test started w/o cache
return=0 THROUGHPUT=263782
####### test started with cache
return=0 THROUGHPUT=278862
cache: hits=18999981 lookups=19000000 size=19
%age improvement with cache :5
{noformat}
> Optimize JavaBinCodec to minimize string Object creation
> --------------------------------------------------------
>
> Key: SOLR-7110
> URL: https://issues.apache.org/jira/browse/SOLR-7110
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Minor
> Fix For: Trunk, 5.2
>
> Attachments: JavabinPerf.patch, JavabinPerf.patch, SOLR-7110.patch,
> SOLR-7110.patch, SOLR-7110.patch
>
>
> In JavabinCodec we already optimize on strings creation , if they are
> repeated in the same payload. if we use a cache it is possible to avoid
> string creation across objects as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]