Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers

ArticlesProfilers for a Component World


February 1998 / Eval / Profilers for a Component World

NuMega's TrueTime and Rational's Visual Quantify pinpoint performance bottlenecks.

Steve Apiki

Rapid application development doesn't often, unfortunately, lead to the development of rapid applications. NuMega's TrueTime and Rational's Visual Quantify seek to remedy this by analyzing the performance of component-based Windows software. Both profilers "instrument" Windows programs: They add instructions that unobtrusively time each line of source as the program runs (see the sidebar "Code Instrumentation"), then provide timing results in a variety of formats.

TrueTime's strength is its clear, immediate presentation of the most relevant data. It displays a tree view that splits modules in your code from the rest of the system, then ranks each module by the amount of time it consumed. You can see line-by-line timing results presented alongside your source, or detailed function analysis that sh ows pie charts ranking each caller and callee by call frequency. TrueTime's straightforward analysis gets you to the performance bottlenecks in your code within a few mouse clicks.

TrueTime works with Visual Basic only, and it can time ActiveX components written in VB, but it can't instrument components developed in Visual C++, even with the source. Fortunately, TrueTime can delve deeply into those components, providing timing for ActiveX interfaces exported from controls.

Visual Quantify works equally well with VB, VC++, and Java. To test a VB or VC++ application, you run Visual Quantify and p oint it at the executable. Instrumentation is faster with Visual Quantify than with TrueTime (14 seconds versus 35 in our test program), but because so many modules are instrumented the first time through, the initial load process is long. You can profile your own VC++ components from within your VB application right down to each source line.

Visual Quantify's main results screen is a call graph, which I found harder to use than TrueTime's results display. Visual Quantify does have unique analysis tools; the best of these, a "delta" analysis, lets you visually compare different runs on the call graph. This is the easiest way I've seen to evaluate the effects of making performance-oriented changes.

Both TrueTime and Visual Quantify do the job, delivering much the same information. Both products are evolving: Versions of TrueTime for Visual C++ will give it better coverage, while Rational plans a clearer user interface in upcoming releases. Right now, TrueTime's better presentation gives it an edge, making it the better choice for VB developers.


Product Information

NuMega TrueTime 1.0.............................$399
 (Windows 95, NT)
NuMega Technologies
Nashua, NH
Phone:    800-468-6342
Phone:    603-578-8400
Internet: http://www.numega.com

Rational Visual Quantify 4.0....................$550
 (NT 3.51 or higher)
Rational Software 
Cupertino, CA
Phone:    800-228-9922
Phone:    408-863-9900
Internet: http://www.rational.com


BB= TrueTime 1.0 Ratings

Technology * * * *
Implementation * * * * *
Performance * * *
Key: ***** Outstanding, **** Very Good, *** Good, ** Fair, * Poor


Visual Quantify 4.0 Ratings

Technology * * * *
Implementation * * * *
Performance * * *
Key: ***** Outstanding, **** Very Good, *** Good, ** Fair, * Poor


BB=TrueTime 1.0

screen_link (33 Kbytes)


Visual Quantify 4.0

screen_link (23 Kbytes)


Steve Apiki, a programmer and BYTE consulting editor, can be reached by e-mail at apiki@AppropriateSolutions.com .

Up to the Eval section contentsGo to previous article: Go to next article: Code Instrumentation
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network