commit | 7e9865c285e30d3527e9ed89b5704984ab7d61d4 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Sun Jan 10 23:55:15 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Sun Jan 10 23:55:15 2021 +0100 |
tree | 2e3a421a479f4f7439caaa7e69d67be42611c7b3 | |
parent | 35f78f4a4562f61cde3b096492628e1d47acb04e [diff] |
ui: Update NodeJS and Wasm toolchain Uprev to Node 14.15.4 and Emscripten 2.0.12. Also: - Update the path in buildtools where both are checked out, moving them in the os-specific folder. This is to match what we do with other binaries and to allow using both OSes via docker or other VMs. - Fix trace_converter.ts to deal with a subtle change in the ordering of javascript JS library: onRuntimeInitialized is now called *before* the init function returns (previously was posted on another task). This makes referring to the module object by capture an 'undefined mod' exception. - Inline --em-config has been deprecated, move it to a file. - Move node/npm wrapper scripts to /tools, so in the long run we can just tell to PATH=$(pwd)/tools in the instructions. - Make everything consistently use //tools/node. - Fix a bunch of places that were accidentally using the system npm rather than the hermetic one. Test: manually tested (i) opening trace; (ii) open with legacy; (iii) converting and downloading a heapdump from the flamegraph. Change-Id: Ief225ece54ed27a2809a575259ac6908048c07dd
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.