Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7491

[Java] Improve the performance of aligning

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.17.0
    • Java

    Description

      Aligning is an important and frequent operation when writing IPC data. It writes no more than 7 0 bytes to the output.
      The current implementation creates a new byte array each time, leading to performance overhead, and increases the GC pressure.

      We improve it by means of a shared byte array. Benchmark evaluation shows a 11% performance gain.

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              fan_li_ya Liya Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h