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 5975369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:04:31+00:00 2026-05-22T21:04:31+00:00

Is there a way to identify quickly a faulty script in Magento that slows

  • 0

Is there a way to identify quickly a faulty script in Magento that slows down the server?

Magento has something like 35 000 files, so there are so many places it can go wrong, I just need a way to find quickly where to optimize.

For example, could I install a script that would tell me all the files magento reads before outputing a page? And then tell me how much time it takes for each file to execute?

Thanks for your help

  • 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-22T21:04:32+00:00Added an answer on May 22, 2026 at 9:04 pm

    xdebug and WebGrind will profile your application.

    Though it can be a bit tricky to set up, so I’ll just post my configuration and you can take from it what you can (from my WampDeveloper installation)…

    php.ini

    [XDebug]
    zend_extension = "D:\WampDeveloper\Components\Php\ext\php_xdebug.dll"
    xdebug.profiler_enable = 1
    xdebug.profiler_output_name = cachegrind.out.%t.%p
    xdebug.profiler_output_dir = "D:/WampDeveloper/Temp/xdebug"
    xdebug.trace_output_dir = "D:/WampDeveloper/Temp/xdebug"
    

    Webgrind’s config.php

    static $storageDir = 'D:/WampDeveloper/Temp/webgrind';
    static $profilerDir = 'D:/WampDeveloper/Temp/xdebug';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to identify, from within a VM, that your code is
Is there any way in SSIS to identify which particular task has failed? My
Is there any way to identify whether someone has refreshed the current page using
Is there a way to identify fields in a view that are referenced by
Is there way to better identify design pattern in source codes, esp. if you
Is there a way to identify unused attributes/methods in Visual C++ 2008 Professional? If
Is there a way to identify at run-time of an executable is being run
Is there a way to identify missing combination in a join table. eg: Three
Is there a way to identify the current version of IIS / using NSIS
Is there a way to identify the timestamp when an object(table/view/stored proc...) was modified

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.