You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Ted Wilmes (JIRA)" <ji...@apache.org> on 2016/05/11 04:06:12 UTC

[jira] [Resolved] (TINKERPOP-1295) Precompile ScriptInputFormat scripts once during initialization of ScriptRecordReader

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

Ted Wilmes resolved TINKERPOP-1295.
-----------------------------------
    Resolution: Fixed

> Precompile ScriptInputFormat scripts once during initialization of ScriptRecordReader
> -------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1295
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1295
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: hadoop, io
>    Affects Versions: 3.2.0-incubating, 3.1.2-incubating
>            Reporter: Ted Wilmes
>            Assignee: Ted Wilmes
>             Fix For: 3.1.3, 3.2.1
>
>         Attachments: intern.svg
>
>
> The {{ScriptRecordReader}} evals scripts on every {{nextKeyValue()}}.  I think we can cut down on script execution evaluation time by precompiling the input script once.  This should speedup bulk loads.  I've attached some profiling info showing a large chunk of time being spent on this eval during a recent test run.



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