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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:54:24+00:00 2026-05-28T15:54:24+00:00

I got an app which has a few slow pages, so I am trying

  • 0

I got an app which has a few slow pages, so I am trying to create some basic figure sof where the app is currently at.

Using curl and just recording the response to a table seems like the way to go.

Using this; http://php.net/manual/en/function.curl-getinfo.php

I figured i could use “CURLINFO_STARTTRANSFER_TIME” which should tell me, about the time it’s taken the app to generate this response, and this wont include the time to look up the name server, or do the handshake or anything.

However, I notice that this value is high, even on a txt page.

I ideally I could edit the PHP of the app, and put start/end times in it, but I can’t.

Will using CURLINFO_STARTTRANSFER_TIME be a semi accurate way of determining how long it took the app to build the request (excluding network overhead)?

Any other suggestions.

  • 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-28T15:54:25+00:00Added an answer on May 28, 2026 at 3:54 pm

    This question is like, “how can I use a square peg to fit a round hole”. I’m just trying to use that statement to explain that you are approaching your problem in the wrong way.

    If you want to do this the correct way, you should install a proper profiler, something like xdebug, and then start profiling your requests. Given any particular profiled page, you get accurate (at least as accurate as they can be in a profiled environment) timings based on how long different parts of your application actually take to process.

    There is no substitution for benching your application than using a proper profiler. Using curl will only tell you how long it took for a request to be performed. In which case you may as well just open up firebug and see how long it takes to load.
    (I know this doesn’t answer your question but since StackOverflow is a wiki, I feel it will help someone else).

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

Sidebar

Related Questions

I've got a client app which has to connect to a server and register
I've got an Android app which has a periodic background Service. I want this
I have got Sinatra/Rails app and an action which starts some long process. Ordinary
I've got an ORACLE package which receives few parameters and returns - with some
I am looking to create an app which has Speech to text. I am
I'm developing an iPhone app at the moment using Appcelerator Titanium which has 3
I have got an app I'm writing and I'm currently considering using MVC to
We've got a ASP.net web app with a few pages that occasionally time out
I've got a CAKEPHP app which has the following rewrite rules in the .htaccess
I've got a simple WinForm app which has a DataGridView on it. When the

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.