Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1239

date/time/dateTime types saw a performance decrease of ~20%

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: Back End
    • Labels:
      None

      Description

      In a previous commit, formattedStr in DFDLCalendar types was changed from a lazy val to a val. formattedStr calls createFormatString, which is a fairly expensive function (creates a new SimpleDateFormat, formats the string, etc), that causes a noticable slow down. We should probably just change this back to a lazy val.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jchab Jessie Chab
              Reporter:
              slawrence Steve Lawrence
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks