Project

General

Profile

Feature #12318

Have our test suite track detailed boot-up performance

Added by intrigeri over 2 years ago. Updated over 1 year ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
-
Start date:
03/11/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

It would be useful to have the output of systemd-analyze plot stored as an artifact, so we can:

  • compare boot time between branches
  • debug more easily what causes boot-up performance regressions

And while we're at it, saving the output of systemd-analyze blame and systemd-analyze critical-chain in debug.log would be good too.


Related issues

Related to Tails - Feature #11971: Consider migrating some of /lib/live/config/* to systemd unit files Resolved 11/20/2016
Related to Tails - Bug #9097: Automatic test: measure boot time Confirmed 03/23/2015

History

#1 Updated by anonym over 2 years ago

With risk of stating the obvious: note that Cucumber keeps careful timings of step execution. E.g. the json formatter has a "duration" field for each instance a step is run (only steps as listed in .feature files, not when invoked via the step method). Of course, we do not always write our steps/features in a way that makes this measurement easy, e.g. in the I start Tor Browser step we invoke (via step) the the Tor Browser has started step, so it's not useful there right now, but we could of course change this.

#2 Updated by intrigeri over 2 years ago

With risk of stating the obvious: note that Cucumber keeps careful timings of step execution.

Sure. But Cucumber doesn't know what took time during boot, it can only measure how long it took from the boot menu to the Greeter, and from the Greeter to the GNOME session.

#3 Updated by intrigeri over 2 years ago

  • Related to Feature #11971: Consider migrating some of /lib/live/config/* to systemd unit files added

#4 Updated by intrigeri over 2 years ago

For example, having this would give us the data we need to decide whether there's something to be done on #11971.

#5 Updated by intrigeri over 2 years ago

Hi spriver! If you're looking for not-too-hard new test cases we need in order to get some training, this could be a good candidate. Feel free to steal it from me.

#6 Updated by spriver over 2 years ago

  • Assignee changed from intrigeri to spriver

Seems like a doable thing for the next weeks for me (:

#7 Updated by u over 1 year ago

Hi spriver, are you still interested in working on this? If yes, fine. If no, you could reassign it to intrigeri.

#8 Updated by intrigeri 19 days ago

  • Related to Bug #9097: Automatic test: measure boot time added

Also available in: Atom PDF