Hi,

there's really not too much to add to the gist from the first post: this 
method is called once, almost right in the main class, to fetch some 
resource. For now I managed to work this issue around, but I thought that 
working on rope-like ByteStrings should be faster than on array-backed Java 
strings? Is it possible to split incoming ByteString chunk directly without 
reallocation?

Thanks

On Wednesday, October 19, 2016 at 4:32:09 PM UTC+2, Konrad Malawski wrote:
>
> Hi Vladyslav,
> firstly, no reason to get desperate :-)
> Glad you did some profiling, it would be super helpful next time around if 
> you share more details about both your code an profile you're observing.
> It's hard to give advice what can be improved when given a blank canvas 
> (no idea what your code looks like).
>
> Of course things can be improved, and in fact just a few days ago we 
> merged a significant performance improvement that affects the Framing 
> stages:
> https://github.com/akka/akka/pull/21539
>
> Keep an eye out for 2.4.12.
>
> -- 
> Konrad `ktoso` Malawski
> Akka <http://akka.io> @ Lightbend <http://lightbend.com>
>
> On 19 October 2016 at 16:11:32, [email protected] <javascript:> (
> [email protected] <javascript:>) wrote:
>
>
> After some playing with JMC and async boundaries it turned out the hottest 
> methods are related to ByteString splitting and delimiting (for example, 
> scala.collection.IndexedSeqOptimized$class.sameElements(IndexedSeqOptimized, 
> GenIterable) takes 73-75% of processor time). The input file is 45M lines, 
> 2-3-characters each. Is it at all possible to make this work?
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: 
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to