Skip to content

The sccache log file contains timestamps in seconds but durations in millisecond precision #2454

@fqueze

Description

@fqueze

Example from a log file:

[2025-10-09T09:51:05Z DEBUG sccache::compiler::compiler] [host_pathsub.o]: generate_hash_key took 0.024 s
[2025-10-09T09:51:05Z DEBUG sccache::compiler::compiler] [host_pathsub.o]: Hash key: 9c7adef5c206ce8991e683e0a302b00c0fcade4b87124b994bdc896309d76a9e
[2025-10-09T09:51:05Z DEBUG sccache::compiler::compiler] [host_pathsub.o]: Cache hit in 0.054 s

To visualize on a timeline which things happened and how long they took, it would be useful if the timestamps had millisecond precision too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions