Project

General

Profile

Feature #3931

create a timer task

Added by Greg Farnum over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/24/2013
Due date:
% 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 over 6 years ago

  • translation missing: en.field_position set to 10

#2 Updated by Sage Weil over 6 years ago

  • Target version set to v0.59

#3 Updated by Sage Weil over 6 years ago

  • Status changed from New to In Progress

#4 Updated by Dan Mick over 6 years ago

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

#5 Updated by Warren Usui over 6 years ago

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

#6 Updated by Warren Usui over 6 years ago

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

#7 Updated by Sage Weil over 6 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF