natduca / trace_event_viewer Goto Github PK
View Code? Open in Web Editor NEWStandalone version of Chrome's about:gpu profiling tool
License: BSD 3-Clause "New" or "Revised" License
Standalone version of Chrome's about:gpu profiling tool
License: BSD 3-Clause "New" or "Revised" License
It would be great if there was a facility enabling use of a different revision, or modified version, of third_party/trace-viewer. It is great that the tool doesn't require you to manually fetch these dependencies, but I've found myself hacking the code to try new revisions, and then disable the checkout so I can hack the trace-viewer code itself. I don't know whether this facility ought to take the form of an option instructing the tool to not do the Subversion update on third_party/trace-viewer, or an option pointing the tool at a completely different directory in which it should find trace-viewer.
I've tried to use this app by following the "QuickStart" instructions, but I get the following error when running it:
Exception: Could not find trace_event_viewer/third_party/trace-viewer/src/timeline_view.js
I copied timeline_view.js the trace-viewer project (trace_viewer/tracing/timeline_view.js) into third_party/trace-viewer/src, but I then get an error like:
timeline_view.js:680: Uncaught ReferenceError: tvcm is not defined
I tried on both Ubuntu and Mac. Totally willing to help fix this if you can give me a hint for what might be going wrong.
I cloned this repo and tried to run the trace-event-viewer
file, but I was reminded to install the dependencies with git submodule update --init
. However, that errored out:
neil@Neil-Laptop:~/trace_event_viewer$ git submodule update --init
Submodule 'third_party/py-chrome-app' (https://github.com/natduca/py-chrome-app.git) registered for path 'third_party/py-chrome-app'
Submodule 'third_party/py_trace_event' (https://github.com/natduca/py_trace_event.git) registered for path 'third_party/py_trace_event'
Submodule 'third_party/trace-viewer' (http://git.chromium.org/external/trace-viewer.git) registered for path 'third_party/trace-viewer'
Cloning into '/home/neil/trace_event_viewer/third_party/py-chrome-app'...
Cloning into '/home/neil/trace_event_viewer/third_party/py_trace_event'...
Cloning into '/home/neil/trace_event_viewer/third_party/trace-viewer'...
fatal: unable to update url base from redirection:
asked for: http://git.chromium.org/external/trace-viewer.git/info/refs?service=git-upload-pack
redirect: https://chromium.googlesource.com/
fatal: clone of 'http://git.chromium.org/external/trace-viewer.git' into submodule path '/home/neil/trace_event_viewer/third_party/trace-viewer' failed
Failed to clone 'third_party/trace-viewer'. Retry scheduled
Cloning into '/home/neil/trace_event_viewer/third_party/trace-viewer'...
fatal: unable to update url base from redirection:
asked for: http://git.chromium.org/external/trace-viewer.git/info/refs?service=git-upload-pack
redirect: https://chromium.googlesource.com/
fatal: clone of 'http://git.chromium.org/external/trace-viewer.git' into submodule path '/home/neil/trace_event_viewer/third_party/trace-viewer' failed
Failed to clone 'third_party/trace-viewer' a second time, aborting
neil@Neil-Laptop:~/trace_event_viewer$
Are the dependencies no longer available?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.