Results 1 to 3 of 3

Thread: bench tests

  1. #1
    alfredt is offline Registered User
    Name: Alfred Tascon
    Organization: None
    Project: None
    Join Date
    Jul 2003
    Posts
    18

    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

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    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

  3. #3
    alfredt is offline Registered User
    Name: Alfred Tascon
    Organization: None
    Project: None
    Join Date
    Jul 2003
    Posts
    18
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Bench ICE-TAO
    By mykael in forum Help Center
    Replies: 3
    Last Post: 06-21-2006, 07:35 AM
  2. IcePHP tests
    By alfredt in forum Help Center
    Replies: 2
    Last Post: 04-08-2004, 10:46 AM
  3. tests failing (one sooner, one later)
    By peter.s in forum Help Center
    Replies: 1
    Last Post: 03-20-2004, 08:24 AM
  4. IceJ-1.2.0 failing tests?
    By SteveWampler in forum Help Center
    Replies: 24
    Last Post: 01-12-2004, 01:33 PM
  5. tests enhancement requests
    By marlowa in forum Comments
    Replies: 1
    Last Post: 02-20-2003, 07:51 AM

Posting Permissions

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