Content for OpenOffice.org version 3.3.
:: com :: sun :: star :: test :: performance ::
|
| interface XPerformanceTest |
|
- Description
- A performance test object has to be implemented in a special way, that:
- queryInterface() execution times remain (nearly) static
- functions kept simple, thus there is (nearly) no execution time of the function itself
- no dynamic data is ever returned except of createObject(), so return 0, empty strings etc.
The interface is divided into three sections:
- measuring asynchron/ synchron calls
- complex data calls with/out return value; in/out parameters
- single data types like long, float, string etc.
- method calls versa attribute calls
- raising RuntimeException
|
Top of Page
Copyright © 1995, 2010, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.