[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: profiling
From: |
Marcus G. Daniels |
Subject: |
Re: profiling |
Date: |
Thu, 30 Jan 2003 08:23:47 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030117 |
Christopher Mackie wrote:
I don't play with ObjC-Swarm, so I don't have anything useful to contribute: I'm sure some longtime Swarmers will. I imagine I'd use gprof.
My current favorite profiler is one my employer gives me for free: Rational's
Quantify. *Very* nice--does Java/C/C++/VB/.NET, which is handy b/c the current
project (which has needed major tweaking) is all C++ and lives in Visual
Studio.NET.
Keep in mind that even with Java/Swarm the kernel is the same, and that
must be compiled with GCC and use the GNU Objective C runtime. How
would Quantify deal with DLLs from a non-Microsoft compiler? Does it
use instrumentation installed by the Microsoft compiler? Would the
result be that time spent in Swarm would be invisible?
By the way, Swarm can generate IDL and C++ interface stubs right now
(for XPCOM). With a little work this could be adapted for the
freely-available .NET SDK. The IDL wouldn't be needed for .NET, and the
adapted C++ stubs could link against libobjc runtime functions compiled
in GCC with stdcall attributes. Presto, Swarm in .NET.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.