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

Precompile ScriptInputFormat scripts once during initialization of ScriptRecordReader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0-incubating, 3.1.2-incubating
    • 3.1.3, 3.2.1
    • hadoop, io
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: