~nuclearbob/ubuntu-test-cases/touch-trace-export-dev

« back to all changes in this revision

Viewing changes to utils/target/app-startup-benchmark.sh

  • Committer: Max Brustkern
  • Date: 2014-10-08 19:46:01 UTC
  • Revision ID: max@canonical.com-20141008194601-cu1h87jpzbzoh0np
Trying one run with no launch

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
DIR=$(lttng create ${1}-startup | grep "Traces will be written in" | awk '{print $NF}')
20
20
lttng enable-event -u -a
21
21
lttng start
22
 
url-dispatcher appid://$1/first-listed-app/current-user-version
23
 
sleep ${2-30}
 
22
#url-dispatcher appid://$1/first-listed-app/current-user-version
 
23
#sleep ${2-30}
24
24
lttng stop
25
25
lttng destroy ${1}-startup
26
26
python3 -c "from gi.repository.UbuntuAppLaunch import triplet_to_app_id ; print(triplet_to_app_id('$1', 'first-listed-app', 'current-user-version'))" > $DIR/app_id