Re: IDL_IDLBridge GetVar vs. Shared Memory [message #51787 is a reply to message #51692] |
Tue, 05 December 2006 16:40   |
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>
|
|
|