Re: Slow Jscript objects response with large number of objects
From: Jeff North (jnorthau_at_yahoo.com.au)
Date: 03/14/05
- Next message: Harry Keck: "RE: What is the .Net equivalent of jscript escape/unescape?"
- Previous message: Steve Fulton: "Re: if question"
- In reply to: Arvind: "Slow Jscript objects response with large number of objects"
- Next in thread: Arvind: "Re: Slow Jscript objects response with large number of objects"
- Reply: Arvind: "Re: Slow Jscript objects response with large number of objects"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Mar 2005 14:22:16 GMT
On Mon, 14 Mar 2005 03:11:05 -0800, in
microsoft.public.scripting.jscript Arvind
<Arvind@discussions.microsoft.com> wrote:
>| I am experiencing slow response by Jscript object access and creation
>| functions when large numbers of custom objects are created on a page. Same
>| code in Firefox and Netscape works fine and there is no slowness in creation
>| of execution of objects. Attached is a simple html page with javascript
>| (http://www.geocities.com/arvindsagarwal/test.htm) to demostrate that (htm
>| file contains inline javascript).
>|
>| Results which i got in IE 6 with XP SP2 with all latest patches and latest
>| version 5.6 of scripting host installed, (Similar behaviour noticed on
>| different machines with Windows Server or Windows XP OS)
>| 1) Create 10000 Objects took 220ms
>| 2) Create 10000 Objects Second Time took 210ms
>|
>| 3) Making Collection of 10000 objects took 742ms
>|
>| 4) Create 10000 Objects after creation of collection took 711ms
>| 5) Create 10000 Objects second time after creation of collection took 701ms
>|
>| 6) Creating 10000 objects after destroying the collection took 250ms
>| 7) Creating 10000 objects second time after destroying the collection took
>| 210ms
>|
[snip]
Since all this is going on client-side then the speed and memory of
their computer is going to have a large impact on your code.
My machine, P4 3.2 512Ram. The results:
IE 6
1) Create 10000 Objects took 125ms
2) Create 10000 Objects Second Time took 140ms
3) Making Collection of 10000 objects took 438ms
4) Create 10000 Objects after creation of collection took 469ms
5) Create 10000 Objects second time after creation of collection took
484ms
6) Creating 10000 objects after destroying the collection took 172ms
7) Creating 10000 objects second time after destroying the collection
took 110ms
FireFox
1) Create 10000 Objects took 31ms
2) Create 10000 Objects Second Time took 31ms
3) Making Collection of 10000 objects took 78ms
4) Create 10000 Objects after creation of collection took 31ms
5) Create 10000 Objects second time after creation of collection took
47ms
6) Creating 10000 objects after destroying the collection took 32ms
7) Creating 10000 objects second time after destroying the collection
took 62ms
>| I will appreciate a quick response on this, and any workarounds or patches
>| to go around this issue will be highly appreciated
>|
>| Thanks,
>| Arvind
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
- Next message: Harry Keck: "RE: What is the .Net equivalent of jscript escape/unescape?"
- Previous message: Steve Fulton: "Re: if question"
- In reply to: Arvind: "Slow Jscript objects response with large number of objects"
- Next in thread: Arvind: "Re: Slow Jscript objects response with large number of objects"
- Reply: Arvind: "Re: Slow Jscript objects response with large number of objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|