[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FAction
From: |
Marcus G. Daniels |
Subject: |
Re: FAction |
Date: |
07 Sep 2000 09:24:11 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "FW" == Fred Wan <address@hidden> writes:
FW> I have replaced the action creation procedure through FAction
FW> instances by Action instances for jheatbugs and it works fine as
FW> well. Even to the extent that I'm wondering what the (time)
FW> benefit is for using FAction (as was replied to my query, FAction
FW> supposedly offers the advantage of reducing the number of
FW> indirections) which brings me to the following question. Are there
FW> methods in Swarm to measure real-time performance to make
FW> optimizations in the code visible?
The best way to measure these things is to use a JVM that is equipped
with profiling code. There isn't really a standard command-line option
for this, though. With Windows and JDK 1.3, you can get
a profile like so:
$ jdkswarm -Xrunhprof:cpu=samples StartHeatbugs
==================================
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.