commit | 4656ba179238343b24d718a002bc5f9d1a21d5ed | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Jan 05 19:55:15 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Tue Jan 05 21:08:20 2021 +0000 |
tree | d086095fdc47a74943c487ee8f9210b4a7ec9d99 | |
parent | 325d666beb8f8404200db9c4ad13aabca62b8c0b [diff] |
trace_processor: make diff test more Win-friendly This doesn't solve all problems. Problems fixed: - Reorder cmdline arguments to be POSIX-getopt friendly. - Don't pass an auto-closing temporary file for perf test as NamedTemporaryFile() are exclusive-access by default on Windows. - Ignore \r in comparisons. Problems still open: The proto_utils.create_message_factory() method fails because message_types_by_name ends up being empty. This seems somehow related with the fact that the python protobuf library on Windows still uses the pure python implementation (unlike the 'cpp' one in Linux). This needs further research Change-Id: I22176287a430e44db2b116447c86ccd02cf9c5b2 Bug: 174454879
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.