×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    112

    I use http to download,but the speed become slower and slower.

    I use http to download xml data,but repeat to start the program serveral times,download speed obviously become slow.Everytime I download the same xml data.What problem it is possible be?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: I use http to download,but the speed become slower and slower.

    you should propably put some profiling into your application to see what is actually getting slower in there, without being able to pinpoint on which part of the code is taking longer, it is rather impossible to know what is going wrong in there.

    One easy way is to add TTime variables (at least one as member variable on your class), and then print into a file the time difference information in parts of your code you want to profile.

  3. #3
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    112

    Re: I use http to download,but the speed become slower and slower.

    Quote Originally Posted by symbianyucca View Post
    you should propably put some profiling into your application to see what is actually getting slower in there, without being able to pinpoint on which part of the code is taking longer, it is rather impossible to know what is going wrong in there.

    One easy way is to add TTime variables (at least one as member variable on your class), and then print into a file the time difference information in parts of your code you want to profile.
    I have written the log,but the server is not avaible now.So,I did not get the information from log.But I will try.By the way,everytime what I download is the same xml stream. When I download success I send the event to ui.

  4. #4
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    112

    Re: I use http to download,but the speed become slower and slower.

    I found if I cut the connection of grps network by myself,Download speed is more faster.Is there any number of grps connection? EveryTime I should cut the number?I don't know why?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×