Results 1 to 2 of 2

Thread: Qwt Performance

  1. #1
    Join Date
    Sep 2010
    Location
    Tel Aviv, Israel
    Posts
    26
    Thanks
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Qwt Performance

    Hi all!!
    I am using The Qwt Histograms chart in my project. The project is running on omapl138 (ARM cpu). I use Qt 4.7 and Qwt 6.0 , both cross-compiled.
    What i have is a QwtPlot with canvas and grid and axes. On this QwtPlot i attach 3 QwtPlotHistogram objects, with 50 samples each. So, I have 50 bars for each histogram, therfore having 150 bars.
    The problem is, that when i want to use QwtPlotZoomer on the canvas, it is way too slowly!! Also, when i want to go back to the 100% view, its replot too slow. When i have other Qt Object moving in the screen it moves slow too.
    How should i implement a fast bars chart with 150 bars? what can i do?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt Performance

    Quote Originally Posted by liran ritkop View Post
    The problem is, that when i want to use QwtPlotZoomer on the canvas, it is way too slowly!! Also, when i want to go back to the 100% view, its replot too slow. When i have other Qt Object moving in the screen it moves slow too.
    This is not enough information to be sure, but it sounds like you are having a slow graphics system - maybe using a unaccelerated framebuffer device.

    I recommend to check the performance of your environment with a small Qt test application with one widget, that paints its background in a solid color for each paint event.

    You could also use the refreshtest example of Qwt ( reduce the number of curve points to 1 ). But because of the panel on the left side of the application only a part of the screen is repainted and you might see a higher refresh rate as for fullscreen repaints.

    Uwe

Similar Threads

  1. Qt GUI Performance Help!
    By SeppBauer in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 27th July 2013, 05:18
  2. Performance issue
    By Skorpien126 in forum Qt Programming
    Replies: 4
    Last Post: 2nd July 2010, 16:02
  3. Performance
    By manojmka in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th March 2010, 20:00
  4. Qt performance
    By yagabey in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2008, 22:05
  5. UDP Performance bad
    By tigertap in forum Qt Programming
    Replies: 5
    Last Post: 17th March 2008, 16:53

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.