Perforce JViews Diagrammer Sample: Benchmark Timing


Description

This sample shows the performance of the Diagrammer component.

How to Use the Sample

How to Run the Sample as an Application

This sample can be run as an application. The installation directory contains a JAR file diagrammer-bench.jar. Do not double-click on this JAR file to start the demo, because it needs extra arguments passed to the Java virtual machine.

Instead, you can run the sample application from the command line. First check that the Ant utility is properly configured. If not, see the instructions on how to configure Ant for Perforce JViews.

Then, go to the installation directory of the sample and type:

ant run

Topics Covered

Detailed Description

This sample shows the performance of the Diagrammer component when creating and displaying graphs of various sizes using various graphic features.
The graph is created using the Stylable Data Mapper (SDM), and (optionally) the lower-level JViews Framework API to measure the overhead of the SDM data mapping and styling features.
See this sample's help for more information.

Installation Directory

The Benchmark Timing sample is installed here.

Classes Involved

Source Files

Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All rights reserved. Legal terms.