ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-6490) Optimize log search speed
Date Wed, 17 Jan 2018 08:30:00 GMT

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

Alexey Kuznetsov updated IGNITE-6490:
-------------------------------------
    Fix Version/s:     (was: 2.4)
                   2.5

> Optimize log search speed
> -------------------------
>
>                 Key: IGNITE-6490
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6490
>             Project: Ignite
>          Issue Type: Improvement
>          Components: wizards
>    Affects Versions: 2.1
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Kuznetsov
>            Priority: Major
>             Fix For: 2.5
>
>
> I see in VisorLogSearchJob code like this: `if (s.toLowerCase().contains(searchStr))`
and this is very non effective. This can be reworked to `regionMatches` and this job should
be profiled and may be some other optimizations can be implemented.
> See similar issue on SO: https://codereview.stackexchange.com/questions/44021/fast-way-of-searching-for-a-string-in-a-text-file



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message