Code Monkey home page Code Monkey logo

Comments (2)

lahmatiy avatar lahmatiy commented on August 23, 2024

@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.

lahmatiy avatar lahmatiy commented on August 23, 2024

@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

from cpupro.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.