lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-7110) Optimize JavaBinCodec to minimize string Object creation
Date Mon, 16 Feb 2015 18:59:11 GMT


Yonik Seeley commented on SOLR-7110:

It's not clear what's what here... did the test take 668ms without the patch and 709ms with
the patch?

Measuring memory isn't enough here... GC is very efficient at cleaning up short lived objects,
and the only downside to letting GC do it is some CPU time, which should show up in a throughput
benchmark if this is a win.

> Optimize JavaBinCodec to minimize string Object creation
> --------------------------------------------------------
>                 Key: SOLR-7110
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>         Attachments: 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message