Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3654

Add class cache to PigContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • None
    • None
    • None
    • Reviewed
    • Cache resolved classes in PigContext to improve script compile performance

    Description

      While benchmarking compile time for a large scripts, I noticed that class lookups for UDFs accounted for a significant amount of time. Adding a simple cache for looked up classes would speed up compile time noticeably.

      Attachments

        1. PIG-3654.patch
          5 kB
          Travis Woodruff
        2. PIG-3654-2.patch
          3 kB
          Travis Woodruff

        Activity

          People

            tmwoodruff Travis Woodruff
            tmwoodruff Travis Woodruff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: