Project

General

Profile

Feature #3931

create a timer task

Added by Greg Farnum about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Spent time:
Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We discussed in the dev list how it would be nice to start gathering performance data out of our nightly runs. To facilitate this, create a teuthology timer task. It should take as config a string describing what it's timing, and when activated grab the time, then immediately yield. In the cleanup phase it should again look at the time, then print out the time and description in a way that can be easily parsed.
When completed, we can insert it into the QA suite runs, eg:

- ceph:
- foo:
- timer: "fsx run" 
- fsx: 

History

#1 Updated by Sage Weil about 7 years ago

  • translation missing: en.field_position set to 10

#2 Updated by Sage Weil about 7 years ago

  • Target version set to v0.59

#3 Updated by Sage Weil almost 7 years ago

  • Status changed from New to In Progress

#4 Updated by Dan Mick almost 7 years ago

There is already internal.timer; it's not very high resolution, but...

#5 Updated by Warren Usui almost 7 years ago

  • Status changed from In Progress to Fix Under Review
  • Assignee set to Warren Usui

#6 Updated by Warren Usui almost 7 years ago

wip-timer-wusui should have one clean commit now.

#7 Updated by Sage Weil almost 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF