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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:40:13+00:00 2026-06-18T06:40:13+00:00

When using the following code which retrieves an object from a webservice I saw

  • 0

When using the following code which retrieves an object from a webservice I saw a slowdown of roughly .5s after combining the lines.

$getChildren = $OKMDocument->getChildren(array('token' => $token, 'path' => $path));
$fileArray = $getChildren->return;

to

$fileArray = $OKMDocument->getChildren(array('token'=> $token, 'path' => $path))->return;

Is there an easy way to identify why this would cause such a performance hit?

Edit:

It is a webservice hosted locally.

$OKMAuth = new SoapClient('http://localhost:8080/OpenKM/services/OKMAuth?wsdl');
$OKMDocument = new SoapClient('http://localhost:8080/OpenKM/services/OKMDocument?wsdl');
  • 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-18T06:40:14+00:00Added an answer on June 18, 2026 at 6:40 am

    Is there an easy way to identify why this would cause such a performance hit?

    The tool what you are searching for is called a profiler. The most common way to profile PHP applications would be to use the xdebug profiler together with a tool like wincachegrind or kcachegrind (linux) what helps you to investigate your program flow and execution times. The GUI will look like this :

    GUI of WinCacheGrind

    You should start reading the xdebug documentation about profiling

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

Sidebar

Related Questions

I have the following code which outputs an object to an XML file: using
Given the following lines of code which is using JQTOUCH: $('#customers').bind('pageAnimationEnd', function(e, info){ if
I'm using the following code which will generate a wav file which contains a
I am using the following code to determine which key is pressed by the
I'm using he following code the call a CFC which returns auto-suggest results through
I'm using the following code to load some sounds depending on which button a
I'm using the following code to post to the server which is then sent
I'm using the following code in CoffeeScript: if elem in my_array do_something() Which compiles
I am using the following line of code to create a dictionary which stores
I am using Dmxzones Advanced HTML Editor 3 which inserts the following code: <textarea

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.