Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

301 lines
6.4 KiB

  1. ;
  2. ; CairOLE BenchMark Testing Parameter File
  3. ;
  4. ; Parameters in this section are header info and global test parameters
  5. ; such as the log file and results file.
  6. ;
  7. [Driver]
  8. Tester=Unknown
  9. Report=bm.res
  10. Log=bm.log
  11. InitFlag=COINIT_APARTMENTTHREADED
  12. PauseBetweenTests=100
  13. ; Some of the config specifications are checked automatically but can
  14. ; be overridden with these entries
  15. ;
  16. [Config]
  17. ; Mfg=Gateway 486DX/33
  18. ; CPU=i486/33
  19. ; RAM=16 Meg.
  20. ; OS=Free Nt755
  21. ; DISK=FAT
  22. ; Test for raw performance/timer accuracy
  23. ;
  24. [Noise Test]
  25. Comment=Basic raw performance/timer accuracy tests
  26. ; Test calling OleInitialize/OleUninitialize repeatedly
  27. ;
  28. [OleInitialize]
  29. Comment=First case is pairs of calls.
  30. Iterations=8
  31. ; Tests CoRegisterClassObject & CoRevokeClassObject
  32. ;
  33. [ObjRegistration]
  34. Comment=Internal Class is used
  35. ClsId_InProc={99999999-0000-0008-C000-000000000052}
  36. ClsId_Local={99999999-0000-0008-C000-000000000051}
  37. Iterations=8
  38. ; Test CoGetClassObject, CreateInstance
  39. ;
  40. [ObjActivation]
  41. Comment= LocalServer = mdi.exe, InProcServer = dlltest.dll
  42. ClsId_InProc={99999999-0000-0008-C000-000000000052}
  43. ClsId_Local={99999999-0000-0008-C000-000000000051}
  44. Iterations=8
  45. ; Tests FileMoniker BindToObject
  46. ;
  47. [BindToObject]
  48. Comment= LocalServer = mdi.exe, InProcServer = dlltest.dll
  49. ClsId_InProc={99999999-0000-0008-C000-000000000052}
  50. ClsId_Local={99999999-0000-0008-C000-000000000051}
  51. Iterations=8
  52. ; Tests FileMoniker BindToStorage
  53. ;
  54. [BindToStorage]
  55. Comment= LocalServer = mdi.exe, InProcServer = dlltest.dll
  56. ClsId_InProc={99999999-0000-0008-C000-000000000052}
  57. ClsId_Local={99999999-0000-0008-C000-000000000051}
  58. Iterations=8
  59. ; Test Running Object Table
  60. ;
  61. [ROT]
  62. Comment= LocalServer = mdi.exe, InProcServer = dlltest.dll
  63. ClsId_InProc={99999999-0000-0008-C000-000000000052}
  64. ClsId_Local={99999999-0000-0008-C000-000000000051}
  65. Iterations=8
  66. ; Not Yet Working
  67. ;
  68. [Properties]
  69. Comment=TBD
  70. ; Tests CoMarshalInterface & CoUnmarshalInterface
  71. ;
  72. [Marshalling]
  73. Comment=Unmarshalled into same process. LocalServer = qisrv.exe
  74. ClsId={00000140-0000-0008-C000-000000000046}
  75. ClsCtx=InProc
  76. Iterations=8
  77. ; Tests various marshaling APIs
  78. ;
  79. [Marshalling2]
  80. Comment=Unmarshalled into same process. LocalServer = qisrv.exe
  81. ClsId={00000140-0000-0008-C000-000000000046}
  82. ClsCtx=InProc
  83. Iterations=8
  84. ; Tests Ole Object Method Calls over Rpc
  85. ;
  86. [RpcTest]
  87. Comment=Ole Object Method Calls over Rpc. LocalServer = rpctst.exe
  88. Clsid_Local={0000013d-0001-0008-C000-000000000046}
  89. Clsid_Inproc={00000140-0000-0008-C000-000000000046}
  90. Iterations=8
  91. Average=N
  92. ; Tests Ole Object Method Calls over Rpc
  93. ;
  94. [RpcTest2]
  95. Comment=Ole Object Method Calls over Rpc. LocalServer = rpctst.exe
  96. Clsid_Local={0000013d-0001-0008-C000-000000000046}
  97. Clsid_Inproc={00000140-0000-0008-C000-000000000046}
  98. Iterations=8
  99. Average=N
  100. ; Tests function calls over Raw Rpc
  101. ;
  102. [RawRpc]
  103. Comment=Function calls over Raw Rpc
  104. Iterations=8
  105. Server=rawrpc.exe
  106. Debug=N
  107. Protseq=ncalrpc
  108. Average=N
  109. ; Tests nested calls over Rpc
  110. ;
  111. [Nested]
  112. Comment=Nested Rpc calls. LocalServer = loopsrv.exe
  113. Clsid_Local={0000013c-0001-0008-C000-000000000046}
  114. Iterations=8
  115. ; Tests Ole QueryInterface Calls
  116. ;
  117. [QueryInterface]
  118. Comment=QueryInterface calls over Rpc. LocalServer = qisrv.exe
  119. Clsid_Local={00000140-0000-0008-C000-000000000046}
  120. Clsid_Inproc={00000140-0000-0008-C000-000000000046}
  121. Iterations=8
  122. ; Tests calling IsEqualGUID api vs memcmp
  123. ;
  124. [GuidCompare]
  125. Comment=Compare timings of memcmp vs IsEqualGUID
  126. Iterations=8
  127. ; Tests calling CoGetPSClsid
  128. ;
  129. [CoGetPSClsidTest]
  130. Comment=call CoGetPSClsid
  131. Iterations=8
  132. ; Tests Miscellaneous COM Apis
  133. ;
  134. [ApiTest]
  135. Comment=Miscellaneous COM Apis
  136. ClsId_Local={99999999-0000-0008-C000-000000000051}
  137. Iterations=8
  138. ; Tests default OLE IMalloc implementation
  139. ;
  140. [IMalloc]
  141. Comment=OLE2 IMalloc
  142. Iterations=8
  143. ;
  144. ; Win32 File IO Api test
  145. ; AccessMode is either NORMAL, MAPPED or ASYNC
  146. ; ReadMode is either RANDOM or SEQUENTIAL
  147. ;
  148. [FileIOTest]
  149. Commet=File IO Test
  150. Iterations=8
  151. FileName=stgtest.bm
  152. AccessMode=MAPPED
  153. ReadMode=SEQUENTIAL
  154. WriteThrough=OFF
  155. Flush=ON
  156. StartSize=512
  157. EndSize=4096
  158. RepeatFactor=1
  159. ;
  160. ; Simple Storage Test
  161. ; FileMode is either DIRECT or TRANSACTED
  162. ; ReadMode is either RANDOM or SEQUENTIAL
  163. ;
  164. [StorageTest]
  165. Comment=Storage Test
  166. Iterations=8
  167. FileName=stgtest.bm
  168. FileMode=DIRECT
  169. ReadMode=SEQUENTIAL
  170. SetSize=ON
  171. StartSize=512
  172. EndSize=4096
  173. RepeatFactor=1
  174. ;
  175. ; Nested Storage Test
  176. ;
  177. [NestedStorageTest]
  178. Comment=Nested Storage Test
  179. Iterations=1
  180. FileName=stgtest.bm
  181. FileMode=DIRECT
  182. DataSize=4096
  183. Branching=2
  184. Nesting=3
  185. Delete=ON
  186. ;
  187. ; Generic Storage test
  188. ; Executes commands from <ScriptName> file
  189. ;
  190. [StorageParserTest]
  191. Comment=Storage parser test
  192. Iterations=1
  193. ScriptName=storage.scp
  194. [CreateTest]
  195. Comment=Testing Ole Create Api
  196. Iterations=8
  197. [CreateLinkTest]
  198. Comment=Testing Ole CreateLink Api
  199. Iterations=8
  200. [ClipbrdTest]
  201. Comment=Testing Ole Clipboard Apis
  202. Iterations=8
  203. [LoadTest]
  204. Comment=Testing OleLoad And OleSave
  205. Iterations=8
  206. [IOLTest]
  207. Comment=Testing IOleLink methods
  208. Iterations=8
  209. [CacheTest]
  210. Comment=Testing IOleCache methods
  211. Iterations=8
  212. ; This sections lists each test and whether to execute it or not. Setting
  213. ; the value to OFF or FALSE turns execution off.
  214. ;
  215. [Tests]
  216. Properties=OFF
  217. FileIOTest=off
  218. StorageTest=OFF
  219. NestedStorageTest=OFF
  220. StorageParserTest=off
  221. CreateTest=off
  222. CreateLinkTest=off
  223. ClipbrdTest=off
  224. LoadTest=OFF
  225. IOLTest=off
  226. CacheTest=off
  227. RpcTest2=off
  228. Noise Test=on
  229. RawRpc=on
  230. OleInitialize=on
  231. ObjRegistration=on
  232. ObjActivation=on
  233. BindToObject=on
  234. BindToStorage=on
  235. ROT=on
  236. Nested=on
  237. QueryInterface=on
  238. ApiTest=on
  239. IMalloc=on
  240. GuidCompare=on
  241. Marshalling2=on
  242. RpcTest=on
  243. Marshalling=on
  244. CoGetPSClsidTest=on