Bug 37934

Summary: [Qt] QtLauncher: make FPS measurement accurate
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: CLOSED FIXED    
Severity: Normal CC: commit-queue, hausmann, loulockman8, webkit.review.bot
Priority: P2 Keywords: Performance, Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on:    
Bug Blocks: 35784    
Attachments:
Description Flags
correct fps measurement
none
fix some style issues
none
Fixed namings and added comments none

Description Noam Rosenthal 2010-04-21 10:40:28 PDT
currently FPS measurements in Qt-launcher gives bogus results, as it measures paint events which are different than frames. we want a more accurate measurement.
Comment 1 Noam Rosenthal 2010-04-21 10:53:09 PDT
Created attachment 53969 [details]
correct fps measurement
Comment 2 WebKit Review Bot 2010-04-21 11:01:20 PDT
Attachment 53969 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebKitTools/QtLauncher/fpsmeasure.cpp:28:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WebKitTools/QtLauncher/fpsmeasure.cpp:30:  Alphabetical sorting problem.  [build/include_order] [4]
WebKitTools/QtLauncher/fpsmeasure.cpp:42:  Missing space after ,  [whitespace/comma] [3]
WebKitTools/QtLauncher/fpsmeasure.h:28:  #ifndef header guard has wrong style, please use: fpsmeasure_h  [build/header_guard] [5]
WebKitTools/QtLauncher/fpsmeasure.h:33:  Alphabetical sorting problem.  [build/include_order] [4]
WebKitTools/QtLauncher/fpsmeasure.h:36:  This { should be at the end of the previous line  [whitespace/braces] [4]
WebKitTools/QtLauncher/fpsmeasure.h:40:  Use 0 instead of NULL.  [readability/null] [5]
Total errors found: 7 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Noam Rosenthal 2010-04-21 11:07:24 PDT
Created attachment 53972 [details]
fix some style issues

one of the style issues cannot be fixed - fixed all the rest.
Comment 4 WebKit Review Bot 2010-04-21 11:12:53 PDT
Attachment 53972 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebKitTools/QtLauncher/fpsmeasure.cpp:28:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Noam Rosenthal 2010-04-21 13:53:16 PDT
Created attachment 53988 [details]
Fixed namings and added comments
Comment 6 WebKit Review Bot 2010-04-21 13:55:21 PDT
Attachment 53988 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebKitTools/QtLauncher/fpstimer.cpp:28:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WebKitTools/QtLauncher/fpstimer.h:28:  #ifndef header guard has wrong style, please use: fpstimer_h  [build/header_guard] [5]
Total errors found: 2 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 WebKit Commit Bot 2010-04-21 20:32:02 PDT
Comment on attachment 53988 [details]
Fixed namings and added comments

Clearing flags on attachment: 53988

Committed r58047: <http://trac.webkit.org/changeset/58047>
Comment 8 WebKit Commit Bot 2010-04-21 20:32:08 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Simon Hausmann 2010-04-26 03:44:32 PDT
Revision r58047 cherry-picked into qtwebkit-2.0 with commit d566cf9e73b32ce286f580de1f19627f38353afb