Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1295

Precompile ScriptInputFormat scripts once during initialization of ScriptRecordReader

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-incubating, 3.1.2-incubating
    • Fix Version/s: 3.1.3, 3.2.1
    • Component/s: hadoop, io
    • Labels:
      None

      Description

      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.

        Attachments

        1. intern.svg
          163 kB
          Ted Wilmes

          Activity

            People

            • Assignee:
              twilmes Ted Wilmes
              Reporter:
              twilmes Ted Wilmes
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: