Skip to content
Snippets Groups Projects
Unverified Commit a0cb57fd authored by Son Luong Ngoc's avatar Son Luong Ngoc Committed by GitHub
Browse files

[6.2.0] profile: add profile_finish_ts (#18129)

"date" field in Bazel json profile is a confusing field.

It uses Java Date.toString() output which includes local timezone
that could be hard to parse.

The name is misleading since users could mistook it for profile
start time, while it actually means the finish/end time, when
Bazel calls the writer to serialize profiling data to disk.

Add "profile_finish_ts" which has a clearer name and more consistent
value with the time unit being used in the rest of the JSON
profile(microseconds).

We shall deprecate the "date" field in a separate patch in a major
release.
parent 3687b561
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment