Status Update
Comments
vi...@jellyfishtechnologies.com <vi...@jellyfishtechnologies.com> #2
Can you attach logcat and traces from iterations where the metric wasn't captured?
ke...@jellyfishtechnologies.com <ke...@jellyfishtechnologies.com> #3
sa...@google.com <sa...@google.com> #4
Thanks very much for the logs!
Are you sure you're using benchmark 1.2.3?
In startActivityAndWait
(see
On a newer version, the query results for this iteration look like they should work, I tried converting them to slices in the internal implementation of StartupTimingQuery:
listOf(
Slice("MetricsLogger:launchObserverNotifyIntentStarted",748393772361,29705),
Slice("launching: androidx.benchmark.integration.macrobenchmark.target",748404581583,881311671),
Slice("activityResume",748731008508,4916798),
Slice("Choreographer#doFrame",748764833776,519637337),
Slice("DrawFrame",748897201189,387112642),
Slice("Choreographer#doFrame",749285086939,89017),
Slice("Choreographer#doFrame",749305484396,730140),
Slice("DrawFrame",749305899852,121651546),
)
And received the following startup event:
SubMetrics(timeToInitialDisplayNs=879732248, timeToFullDisplayNs=null, timelineRangeNs=748404581583..749284313831)
So you should be good with new versions of macrobenchmark.
The other constraint we removed in that same fix was
04-01 11:54:55.097 6289 6311 I System.out: query result line "startActivityAndWait",748335793781,1096645119
04-01 11:54:55.097 6289 6311 I System.out: query result line "launching: <app_test_package>",748404581583,881311671
748335793781 + 1096645119
is greater than 748404581583
, so the launching:
event starts after the startActivityAndWait
slice from macrobenchmark. Not sure why that is without looking at a trace, but you could look to see if there's anything strange there (like startActivityAndWait
not waiting for the actual launch somehow, that would do it).
pa...@bespinlabs.com <pa...@bespinlabs.com> #5
sa...@google.com <sa...@google.com> #6
Feel free to close this issue out. Thanks for all your help!
wa...@cftc.fr <wa...@cftc.fr> #7
Branch: androidx-main
commit d55b483632c5662ae95d19479ebbc14f8b23b0ff
Author: Chris Craik <ccraik@google.com>
Date: Mon Apr 01 11:27:57 2024
Add logs / error messages to all startup detection failures
Test: StartupTimingQueryTest
Bug: 329145809
Bug: 305733267
Relnote: "Added log.w / exception labels to all startup detection
failures. This does not change current behavior (so some errors throw,
and others silently fail to detect the startup), just makes it more
understandable. Generally the ones that Log.w() and fail to report
startup metrics are those where non-frame events are missing,
exceptions are thrown when startup is detected except for frame timing
information (from UI/RT slices)."
Likely will want to revisit this in the future to make detection
failure conditions more consistent, this change just makes errors more
comprehensible without needing to dig into the trace.
Change-Id: Id240f7698dfb977457362a137f0070e73dc2495c
M benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/perfetto/StartupTimingQuery.kt
ra...@poczta.varico.pl <ra...@poczta.varico.pl> #8
Above CL should make problems like these a lot easier to diagnose (both missing metric, and collection contains no element matching predicate).
ad...@snapsoft.io <ad...@snapsoft.io> #9
Actual missing content issue was tracked/fixed in
Treating this bug as about the discoverability/logging side, so closing this as fixed.
jo...@welovechatter.com <jo...@welovechatter.com> #10
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.benchmark:benchmark-macro:1.3.0-alpha03
jp...@google.com <jp...@google.com>
jp...@google.com <jp...@google.com>
st...@chino.io <st...@chino.io> #11
ka...@searce.com <ka...@searce.com> #12
+1
v....@spd-ukraine.com <v....@spd-ukraine.com> #13
sa...@musonisystem.com <sa...@musonisystem.com> #14
ry...@macrofactorapp.com <ry...@macrofactorapp.com> #15
jh...@webmd.net <jh...@webmd.net> #16
jl...@utah.gov <jl...@utah.gov> #17
dr...@gmail.com <dr...@gmail.com> #18
I know most people would say the Chat API would be the best place to implement this but I feel the People API could also really use this as that's the one which we use to build out a user profile.
[Deleted User] <[Deleted User]> #19
ry...@blinktime.io <ry...@blinktime.io> #20
ja...@gmail.com <ja...@gmail.com> #21
tu...@gmail.com <tu...@gmail.com> #22
lu...@pionix.de <lu...@pionix.de> #23
st...@chino.io <st...@chino.io> #24
It seems to me rather a standard thing to have. Not sure why it takes years to build such a "simple" api call.
Description
A short description of the issue: Provide an API that can be used to configure chat status.
What is the expected output? What do you see instead? If you see error messages, please provide them.
API that allows developers to write code that can programmatically update users Chat Status, such as 🌴 Vacationing / On holidays etc.
Please provide any additional information below.
This would be useful when setting up company-wide vacation automation. It is possible to update Gmail Vacation via API, Google Chat should provide the same functionality.