Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-06-2003
alfredt alfredt is offline
Registered User
 
 
Join Date: Jul 2003
Posts: 16
bench tests

I've just ran the Freeze/bench tests, and wondered why the reads are taking so long?

I am getting inserts ~0.5 ms each, while reads are ~4.8ms each.

And it doesn't matter if it is reading 1 record or 1,000 records.

what's the deal?

Thanks,

Alfred
Reply With Quote
  #2 (permalink)  
Old 08-06-2003
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 768
Hi Alfred,

Good question! I ran the Freeze/bench C++ demo using an optimized Linux build, and got similar results: for the IntIntMap, inserts take 0.06 to 0.14ms, while reads take 0.35ms (yes, I have a fast box ).

Most of the read time is consumed by the XML demarshalling; I switched to binary encoding (by adding --binary to slice2freeze) and got a more reasonable 0.03ms per read.
Unfortunately switching to binary encoding on Linux triggered a strange compilation problem in Struct1Class1MapValueCodec::write(). I am investigating it now.

Thanks for raising this issue! We will address this XML demarshalling performance issue in the next Ice release.

Bernard
Reply With Quote
  #3 (permalink)  
Old 08-07-2003
alfredt alfredt is offline
Registered User
 
 
Join Date: Jul 2003
Posts: 16
thanks,
I also switched slice2freeze to --binary under VC7.1 and got the same error.

Managed to compile it and also got desent read times of about a third the write times in the IntIntMap test.

It only ran the first two tests then raised a nullhandle exception at the Struct1Class1Map read test.

Alfred
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bench ICE-TAO mykael Help Center 3 06-21-2006 07:35 AM
New SSL certificates for Ice 3.0 demos & tests mes Patches 0 12-31-2005 11:43 AM
IcePHP tests alfredt Help Center 2 04-08-2004 10:46 AM
tests failing (one sooner, one later) peter.s Help Center 1 03-20-2004 08:24 AM
tests enhancement requests marlowa Comments 1 02-20-2003 07:51 AM


All times are GMT -4. The time now is 01:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.