Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Bubastis

    Function call painfully slow

    How can I check the virtual memory settings on the server?
  2. Bubastis

    Function call painfully slow

    php4.3.8 with apache 1.3.<something> (though I wonder if I have it configured right). On Debian Linux.
  3. Bubastis

    Function call painfully slow

    I put print statements in every single function in the method (30-40 of them). None gets executed between calling pparse and the print statement in pparse (which is after the timestamp). Not sure where else to look now. . .
  4. Bubastis

    Function call painfully slow

    pparse doesn't get mentioned anywhere else in the class. In general, what might happen when we have a method invocation in a class? What other code could possibly be getting executed before my timestamp? I could include all the code for the class, but it's awfully long.
  5. Bubastis

    Function call painfully slow

    I call microtime as the first line inside the method: function pparse($handle){ //time stamp global $pt1a; $outcommon = microtime(); $outcommon = explode(" ",$outcommon); $outcommon = $outcommon[1] + $outcommon[0]; $pt1a = $outcommon; . . . Rest of function . . . } If I put several more...
  6. Bubastis

    Function call painfully slow

    It's invoked with a simple $template->pparse('body'); Is it possible that I have php installed incorrectly? (Though I would guess that would cause it to simply fail, as opposed to just be very slow.) Another oddity is that when I try this from different computers (this is part of a webpage)...
  7. Bubastis

    Function call painfully slow

    Time for a couple stupid questions: Given that my timestamping is the first line of the function, why does the rest of the function even matter? What do you mean by 'footprint'? The timestamping? When I put timestamps all over this function, everything inside runs quickly - the big step in...
  8. Bubastis

    Function call painfully slow

    Here's the function: The crap at the beginning is the timestamp. Not clear to me why what's after it should even matter as far as causing the delay is concerned. Could there be a problem with general php configuration that might cause such an error? function pparse($handle){ //time stamp...
  9. Bubastis

    Function call painfully slow

    I'm using php 4.3.8. I have a big class called template which has a function pparse which takes one argument. In my code, I do a timestamp (using microtime), then I execute $template->pparse('body'). The first line of the pparse function then is another timestamp. Often 4 seconds or more...
  10. Bubastis

    Install APXS

    It was installed for me - I have a dedicated server with a hosting company. I'd like to just add on apxs without going through the hassle of installing the apache entirely (and without the danger of my just screwing that up).
  11. Bubastis

    Install APXS

    I already have apache installed, but do not have apxs. Is it possible to install apxs without reinstalling apache? If so, how? Thanks much.

Part and Inventory Search

Back
Top