comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL_IDLBridge GetVar vs. Shared Memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL_IDLBridge GetVar vs. Shared Memory [message #51787 is a reply to message #51692] Tue, 05 December 2006 16:40 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
Timing results with Intel Mac 3 GHz, 8 GB RAM:

IDL> print,!version
{ i386 darwin unix Mac OS X 6.3 Jun 27 2006 32 64}


IDL> shmvsgetvar
Testing with byte array of size: 10
SHM: 0.000 s
SHM+Cleanup:0.000 s
GetVar: 0.000 s
Testing with byte array of size: 1E7
SHM: 0.016 s
SHM+Cleanup:0.019 s
GetVar: 0.125 s
Testing with byte array of size: [10,1E6]
SHM: 0.030 s
SHM+Cleanup:0.032 s
GetVar: 0.126 s
Testing with byte array of size: [1E6,10]
SHM: 0.017 s
SHM+Cleanup:0.020 s
GetVar: 0.128 s
Testing with byte array of size: [1E4,1E3]
SHM: 0.015 s
SHM+Cleanup:0.018 s
GetVar: 0.128 s
Testing with byte array of size: [1E2,1E2,1E3]
SHM: 0.016 s
SHM+Cleanup:0.019 s
GetVar: 0.130 s
Testing with byte array of size: 1E8
SHM: 0.159 s
SHM+Cleanup:0.177 s
GetVar: 1.225 s
Testing with byte array of size: [10,1E7]
SHM: 0.278 s
SHM+Cleanup:0.296 s
GetVar: 1.259 s
Testing with byte array of size: [1E7,10]
SHM: 0.156 s
SHM+Cleanup:0.195 s
GetVar: 1.247 s
Testing with byte array of size: [1E4,1E4]
SHM: 0.138 s
SHM+Cleanup:0.157 s
GetVar: 1.257 s
Testing with byte array of size: [1E3,1E2,1E3]
SHM: 0.141 s
SHM+Cleanup:0.162 s
GetVar: 1.240 s
Testing with byte array of size: [1E2,1E2,1E2,1E2]
SHM: 0.152 s
SHM+Cleanup:0.172 s
GetVar: 1.241 s
IDL>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: A Programmer's Education
Next Topic: Re: Logarithmic Color Scaling

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:25:48 PDT 2025

Total time taken to generate the page: 0.00396 seconds