Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131456

[Regr:6.4->6.5] Significant performance degradation of converting UTC from/to local time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5, 6.7, 6.8
    • Core: Date/Time
    • None
    • Windows

      Significant performance degradation of converting UTC from/to local time has been detected since Qt 6.5.
      I have tested some QDateTime functions related to UTC from/to local time conversion with Qt 6.4 and Qt 6.8 (official builds) under Windows. In particular, `QDateTime::fromSecsSinceEpoch()` (when using with local time representation, i.e. by default) demonstrates about 50 times slower performance with Qt 6.8. against Qt 6.4.3.
      (I have not performed performance measurements in all affected versions of Qt, but similar symptoms that prompted me to pay attention to this problem have been noticed since Qt 6.5.)

        1. main.cpp
          1 kB
          Vladimir Golovnev
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Eddy Edward Welbourne
            glassez Vladimir Golovnev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes