Add option to pt-upgrade to display all timing information

Description

Right now, pt-upgrade only displays query timing information if t2 is > t1 by more than 1 magnitude.

Sometimes, it is desired by clients to see all differences, even if less than 1 magnitude.

Please add some sort of option to disable the check and print all timing results.

Re: https://percona.slack.com/archives/C03FTA1CL/p1500392790622181

Environment

None

Smart Checklist

Activity

Show:

Matthew Boehm July 19, 2017 at 11:51 AM

For the whole log, sure, those may be of some use if a client is attempting to use pt-upgrade as a "smoke tester". I like the idea of specifying "what is slower to me".

Kenny Gryp July 19, 2017 at 9:36 AM

Wouldn't also showing average, stddev, 95%ile, 99%ile be more applicable than just showing all timing results?
All results might be too much information which has to be 'manually' processed. You wouldn't know if it's good or not.

And additionally a parameter can be added to specify when you want results to be marked as 'slower'. (examples: stddev:5, 95ile:2x))

Thinking about this, it might be quite a lot of work because pt-upgrade looks at individual results to report.

Details

Assignee

Reporter

Priority

Affects versions

Smart Checklist

Created July 18, 2017 at 4:40 PM
Updated February 13, 2018 at 6:40 PM