Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. What is the maximum amount of property bindings?
Forum Updated to NodeBB v4.3 + New Features

What is the maximum amount of property bindings?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 3 Posters 446 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NYBL
    wrote on last edited by NYBL
    #1

    I try to follow the key concepts presented here
    basically he said to size your components based on parent all the time, no hardcoding width/ height...

    So i Was wondering what is the maximum amount of property bindings for a normal hardware in order to get a normal fps rate, (assuming all of them emit the changed signal at the same time)? also lets assume the worse case that they are all qml var properties

    1 Reply Last reply
    0
    • N NYBL

      @JKSH Its not about profiling as there are many more stuff happening in a app than binding, like networking, computing etc.., I asked if this constrain of using only binding in your app for items size is a good way to go or you will pay the debt as your app start scale.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #6

      @NYBL said in What is the maximum amount of property bindings?:

      I asked if this constrain of using only binding in your app for items size is a good way to go or you will pay the debt as your app start scale.

      Using bindings for sizes is generally fine.

      There is a minor performance cost in bindings, but for most applications this cost is not an issue especially since it greatly reduces the development cost, compared to using alternative methods.

      If you are concerned about absolute performance of bindings, follow this ticket: https://bugreports.qt.io/browse/QTBUG-82447

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      2
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #2

        I'm not sure about normal fps. There is no limit on property bindings.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        0
        • N Offline
          N Offline
          NYBL
          wrote on last edited by
          #3

          yeah that's the problem though... I want to make sure that my app would be swift

          JKSHJ 1 Reply Last reply
          0
          • N NYBL

            yeah that's the problem though... I want to make sure that my app would be swift

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #4

            @NYBL said in What is the maximum amount of property bindings?:

            I want to make sure that my app would be swift

            To achieve this, profile your code to see how to optimize it.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            N 1 Reply Last reply
            0
            • JKSHJ JKSH

              @NYBL said in What is the maximum amount of property bindings?:

              I want to make sure that my app would be swift

              To achieve this, profile your code to see how to optimize it.

              N Offline
              N Offline
              NYBL
              wrote on last edited by NYBL
              #5

              @JKSH Its not about profiling as there are many more stuff happening in a app than binding, like networking, computing etc.., I asked if this constrain of using only binding in your app for items size is a good way to go or you will pay the debt as your app start scale.

              JKSHJ 1 Reply Last reply
              0
              • N NYBL

                @JKSH Its not about profiling as there are many more stuff happening in a app than binding, like networking, computing etc.., I asked if this constrain of using only binding in your app for items size is a good way to go or you will pay the debt as your app start scale.

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by JKSH
                #6

                @NYBL said in What is the maximum amount of property bindings?:

                I asked if this constrain of using only binding in your app for items size is a good way to go or you will pay the debt as your app start scale.

                Using bindings for sizes is generally fine.

                There is a minor performance cost in bindings, but for most applications this cost is not an issue especially since it greatly reduces the development cost, compared to using alternative methods.

                If you are concerned about absolute performance of bindings, follow this ticket: https://bugreports.qt.io/browse/QTBUG-82447

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                2

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved