home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / dcom / comperf / readme.txt < prev   
Text File  |  1996-07-29  |  2KB  |  31 lines

  1. COM Performance Sample
  2.  
  3. PURPOSE:
  4. This is the reference performance sample for COM/DCOM run on local
  5. and remote machines. This program is both a client and a server.
  6. It launches as a client by default, registering its executable as a
  7. server with COM and creating other instances of itself on a remote and
  8. local machine to be servers. A single command-line argument is allowed
  9. for a remote server name. Performance numbers in calls/sec are output
  10. in tabular form. Tests COM and IDispatch method calls with two security
  11. levels: default/min and full. Use DCOMCNFG to set default security to
  12. Authn Lvl to NONE for best comparison. Parameter sizes are varied to see
  13. effect on security levels(~4/50/4k bytes). Uses psperf.dll MIDL generated
  14. proxy/stub implementation. Put psperf.dll in same dir as this exe on
  15. all machines. Run exe on each machine to automatically register class code
  16. and proxy/stub dll. You can then run on either machine and pass a remote
  17. machine name (DNS or IP address) as single cmd-line parameter. 
  18.  
  19. Instructions:
  20.     Install on one or more machines as described above. Run on command-
  21.     line as "comperf".
  22.     A single command-line argument is allowed for a remote server name.
  23.      E.g. "comperf MyComputer" or "comperf 123.44.44.234" using IP address.
  24.     This sample may be compiled as UNICODE or ANSI
  25.  
  26. Usage: COMPERF [machine name | IP address | /? | -?]
  27. Where:
  28.     /?                Displays help screen
  29.     machine name    Name of remote machine
  30.     IP address        IP address of remote machine
  31.