Comments (2)
@paulirish Thank you for your feedback and report. I appreciate it!
Yes, I'm very interested in such cases. This way, neither you, the users, nor I will encounter problems when analyzing any profile :)
I took a look at your profile. It uses parent
instead of children
for the call tree nodes. I've never seen such a structure in profiles from the V8 CPU profiler (.cpuprofile
files), only in the Chromium Performance Profile files (as far as I can tell, CPP may contain children
, parent
, or both in ProfileChunks
depending on the Chromium version, so cpupro
supports all the cases). Therefore, cpupro
expects children
for .cpuprofile
files, and the logic to transform parent
into children
is located only in CPP file processing. It seems that applying this logic to .cpuprofile
as well files fixes the problem.
A patch is on the way.
from cpupro.
@paulirish The issue has been resolved. Please try your profile now. It takes only 0.4s for me.
I also discovered another issue with your profile. For some reason, the time from the last sample until endTime
is significant. I suspect it's the time needed to conclude the profiling session or adjustments from excluding idle samples at the end. Regardless, this time is now excluded from the "Profiling time" used to compute time percentages. I've also updated the hint content to explain this:
![image](https://private-user-images.githubusercontent.com/270491/329744807-0006bef6-9e96-418b-9378-f143364ebbeb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzNzMxNzQsIm5iZiI6MTcyNDM3Mjg3NCwicGF0aCI6Ii8yNzA0OTEvMzI5NzQ0ODA3LTAwMDZiZWY2LTllOTYtNDE4Yi05Mzc4LWYxNDMzNjRlYmJlYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyM1QwMDI3NTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hZDM5ZmM3MzMwMTEyOWUyNDgwMjhmYTI2ZDhhNzU4MWY5YWZiMDI4ZmE0YTVjYTc3ZDg1ZWYxNTUyY2VlMTZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7Clf02AxoX3Cvp1-A9UxbGrjHNGJ_h4_w7jhHDyUTt0)
from cpupro.
Related Issues (6)
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 cpupro.