lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9147) avoid expensive byte[] resize in EmbeddedSolrServer
Date Mon, 23 May 2016 06:11:12 GMT

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

Mikhail Khludnev commented on SOLR-9147:
----------------------------------------

it causes the failure
https://builds.apache.org/job/Lucene-Solr-Tests-master/1162/console
{noformat}
check-working-copy:
...
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-master/build.xml:608: Source checkout
is modified!!! Offending files:
* solr/licenses/commons-io-2.5.jar.sha1
{noformat} 
I'm trying to fix it quite unconsciously by commits below.  

> avoid expensive byte[] resize in EmbeddedSolrServer
> ---------------------------------------------------
>
>                 Key: SOLR-9147
>                 URL: https://issues.apache.org/jira/browse/SOLR-9147
>             Project: Solr
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Mikhail Khludnev
>            Assignee: Mikhail Khludnev
>             Fix For: 6.1, master (7.0)
>
>         Attachments: SOLR-9147.patch, SOLR-9147.patch
>
>
> This issue makes modest step toward EmbeddedSolrServer efficiency.
> It replaces {{java.io.ByteArrayOutputStream}} which has quite expensive resizes with
incrementally growing BAOS from commons-io 2.5.  
> h4. Note
> There is no expectation for performance gain in case of StreamingResponseCallback.  
>      



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message