Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6335865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:56:20+00:00 2026-05-24T18:56:20+00:00

I have setup xdebug and webgrind and I have generated a profile so I

  • 0

I have setup xdebug and webgrind and I have generated a profile so I can start improving the speed of my code execution. I have displayed the profile in webgrind but I haven’t got a clue what any of it means. All the googling I have done doesn’t really explain any of it either.

Could someone please explain the basics of reading a webgrind report:

Invocation Count

Total Self Cost

Total Inclusive Cost

What the different colours mean

What the coloured bar means

Calls

Total Call Cost

Count

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:56:21+00:00Added an answer on May 24, 2026 at 6:56 pm

    The basic output lists all the different functions, methods, and included/required files.

    • Invocation Count: The number of times the function has been called

    • Total Self Cost: The total time it took to execute the raw php in this function (time taken to execute your other custom functions is excluded.)

    • Total Inclusive Cost: Total time, including any other functions called (PHP internal, or your functions)

    • What the different colours mean?

      • Blue are PHP internal functions
      • Green are your class methods
      • Orange are procedural functions
      • Grey is time taken to include, or require .php files.
    • What the coloured bar means? Graphical display of breakdown of time for each type as above.

    • For the last ones, I assume you’ve clicked the arrow to open a particular function?

      • Calls: The functions/methods called in executing this function

      • Total Call Cost: The total time executing this function, when called from the parent function

      • Count: Number of times the parent calls the child.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have netbeans setup with xdebug so it can debug php. However, this only
I'm using NetBeans 6.5 for developing PHP and I have xdebug setup. Is there
How do you setup a multi-developer XDebug PHP environment? I have the following setup:
I have setup multiple SQL Service Broker Queues in a database but have not
I have setup coredata in my appDelegate, but it first loads the mainWindow.xib and
I have setup file of winform. but i want to change my icon how
I have setup all the things for Windows Azure and Drupal. But, when I
I have setup eclipse to attach to a local JVM. But when I try
I have setup a simple test project for the EF 4.1 RC, using Code-First
I have xdebug configured as shown below but the error-output is totally unreadable. Do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.