Comments (1)
I went through how the Chrome Profiles do this and came across the Catapult Project which basically implements the trace-viewer for Chrome. I believe we can find the way to make sense of our code by digging deep through this repository
On some research I found this systrace/profile_chrome/main.py file to be relevant to what we want to achieve. My reasons for believing so are simply based on this line in the code. This leads us to this systrace/profile_chrome/profiler.py file where a CaptureProfile Method has been implemented, now the relevant line in this method is probably the tracing_controller, which leads us to the systrace/systrace/tracing_controller.py file containing tracing code, however such tracing code is also available at other locations, for example: ftrace_events, android_events. From what I understand, the tracing_controller mentioned earlier, aggregates the events generated by these events. For the purposes for this project, I think we should pay particular emphasis on the Android Agent. However, this does require an extremely deep dive into the code. I think we should confirm with @jevakallio if we are on the right path, or if I am mistaken here.
from hermes-profile-transformer.
Related Issues (20)
- Create Interfaces for Instant, Counter, Flow, Memory Dump, Mark, Linking ID Event
- Convert Hermes Events to events the Chrome Profiler understands HOT 4
- Assembling events in the meaningful format HOT 4
- Convert the name field to source maps HOT 3
- Fix Call Graph HOT 2
- Create a function call stack HOT 2
- Integrate Lighthouse Parser to work with the Hermes Sample.
- Changing node version to node v8.17
- Write tests for the CPU profiler
- Reduce the number of categories to 3
- Fix ownership of package and publish to `npm`
- CI fixes HOT 2
- Migrate from Duration Events to Complete Events
- Min React Native/Hermes version supported? HOT 11
- IOS support
- error Cannot read properties of undefined (reading 'pid') HOT 2
- Chrome unable to load the transformed profile: Failed to find browser main thread in trace, some timeline features may be unavailable HOT 2
- Error: Cannot read properties of undefined (reading 'name')
- Create Interfaces for Duration, Complete, Metadata, Sample, Object, ClockSync, Async and Context Event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hermes-profile-transformer.