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

  • SEARCH
  • Home
  • 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 9062313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:42:22+00:00 2026-06-16T15:42:22+00:00

I know this question has been asked before but I haven’t been able to

  • 0

I know this question has been asked before but I haven’t been able to find a definitive answer.

Does the overly use of the echo statement slow down end user load times?

By having more echo statements in the file the file size increases so I know this would be a factor. Correct me if I’m wrong.

I know after some research that using php’s ob_start() function along with upping Apaches SendBufferSize can help decrease load times, but from what I understand this is more of decrease in php execution time by allowing php to finish/exit sooner, which in turn allows Apache to exit sooner.

With that being said, php does exit sooner, but does that mean php actually took less time to execute and in turn speed things up on the end user side ?

To be clear, what I mean by this is if I had 2 files, same content, and one made use of the echo statement for every html tag and the other file used the standard method of breaking in and out of php, aside for the difference in file size from the “overly” use of the echo statement (within reason I’m guessing?), which one would be faster? Or would there really not be any difference?

Maybe I’m going about this or looking at this wrong?

Edit: I have done a bit of checking around and found a way to create a stop watch to check execution time of a script and seems to work quit well. If anybody is interested in doing the same here is the link to the method I have chosen to use for now.

http://www.phpjabbers.com/measuring-php-page-load-time-php17.html

  • 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-06-16T15:42:23+00:00Added an answer on June 16, 2026 at 3:42 pm

    Does the overly use of the echo statement slow down end user load times?

    No.

    By having more echo statements in the file the file size increases so I know this would be a factor. Correct me if I’m wrong.

    You are wrong.

    does that mean php actually took less time to execute and in turn speed things up on the end user side?

    No.

    Or would there really not be any difference?

    Yes.

    Maybe I’m going about this or looking at this wrong?

    Definitely.

    There is a common problem with performance related questions.
    Most of them coming up not from the real needs but out of imagination.
    While one have to solve only real problems, not imaginable ones.

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

Sidebar

Related Questions

I know this question has been asked before, but I haven't been able to
I know this question has been asked before, but I haven't found an answer
Yes, I know this question has been asked before, but I can't find an
I know this question has been asked many times before but I can't find
I know this question has been asked before but I still haven't seen a
I know this question has been asked many times before, but I haven't found
I guarantee that this question has been asked before, but I haven't been able
I know this question has been asked before numorous times but they seem to
I know this question has been asked before, but non of the solutions solve
Alright, I know this question has been asked before, but mine has a different

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.