Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13293

.NET: Enum serialization is slow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7, 2.8, 2.8.1
    • 2.10, 2.9.1
    • platforms
    • .NET: Improve enum field serialization performance
    • Release Notes Required

    Description

      BinaryWriter.SaveMetadata has performance issues when enums are present:
      every enum write causes GetEnumValues call in BinaryType, which uses reflection.

      We should cache enum values per type.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 50m
                  50m