home *** CD-ROM | disk | FTP | other *** search
- JFUsage
- -------
- Version 1.00 (08 Jun 1995)
-
- Introduction
- ------------
- If you've programmed any desktop proglets then at sometime or another you'll
- have wanted to find out if they are running speedily. I recently decided to
- go through all my programs and mask out the null polls on them all -
- something I should have done originally. But I wanted to test the speed
- increase. So I wrote JFUsage as the Acorn Usage meter is not very useful if
- you want to compare speeds figuratively.
-
- The clock measures the average time taken to perform 20 Wimp_Polls and return
- with Null codes. This is measured in centi-seconds and is really quite fast
- on a well organised desktop.
-
- Usage
- -----
- • Run the program.
- • Watch the figures until the overall average settles down to a relatively
- constant value.
- • Make changes to programs.
- • Click Reset on the menu.
- • Wait for figures to settle to see speed change
-
-
- How it works
- ------------
- The main average (the top one) is the average of the last 20 polls. The
- overall average (the bottom one) is the average of the polls since the
- program was last reset.
-
-
- Expected results
- ----------------
- I have a A5000 33Mhz RO3.22m (VAPOURWARE!). So timings are related to this :
- • On an unoptimised desktop I got 2.385 cs poll-time
- • By optimising using Wimp_Poll with nulls masked out, and using
- Wimp_PollIdle where this is not appropriate I got 0.899 cs poll-time. An
- increase of about 165% in responsiveness!
- • As I write this the desktops overall average is 0.855 cs poll-time.
- Currently I have these applications running :
- Alarm
- Justin's Filer
- Virtual Desktop 2.10
- Reminders - Modified (used to slow down the desktop massively)
- DarkHorse - Modified (ditto)
- ReadMail 1.15
- Zap 1.20
- StrongHelp 2.01
- Close - my app to close files which are left open
- PackDir 1.18
- JFUsage - obviously
- TaskManager
- Filer
- ADFS Filer
- Resource Filer
- Free
- Palette Utility
- VProtect
- ClipBoard (Röling ?)
-
-
- Bugs
- ----
- I did encounter one ‘bug’ in the program or perhaps in the Wimp. When running
- the average can jump massively if very few apps are running. Whilst trying to
- find out the fastest the desktop would run I hit upon the limit of about
- 0.135 cs with 4 tasks running. Quitting another made little difference, until
- I had quite everything (as in not even an iconbar) and all that remained was
- JFUsage. When I did this the average shot up from 0.135 to 0.435.
-
- Why this should be I don't know and due to the circumstances (ie no editors
- or debuggers loaded!) I could discover no more.
-
- Remember the act of measuring must effect the quantity being measured. Well
- know physical fact which bears true here and may be the cause of this
- spurious result.
-
-
- Sprite ?
- --------
- Don't ask me what the sprite is, I don't know. I designed it specifically for
- this and I haven't a clue what relevance it has - feel free to design
- another.
-
-
- Help and message files
- ----------------------
- This application is fully !Help compliant and it is recommended that when
- getting to grips with it the help should be used if only to give it some
- purpose! It also supports the use of MessageTrans and therefore translation
- to another language or changing the messages for the fun of it is much easier
- than it might have been.
-
-
- <BasicLibrary$File>
- -------------------
- This application requires Justin Fletcher's JFShared library to function.
- This can be obtained from Arcade and possibly other bulletin boards. I have
- seen QuickHelp on Digital Databank, so it is possible that JFShared exists
- there also.
-
-
- Compatibility
- -------------
- This application has been tested on the author's A5000, but due to the lack
- of friends with Acorns has not been tested on other systems. Therefore, it
- ought to work on any RO3.1 machine, and with a RO2 machine if it is
- recognised in JFShared and uses no specific RO3 features.
-
-
- Disclaimer
- ----------
- The author accepts no responsibility for any problems which this
- application may cause or loss of data resulting in its use. This application
- is Public Domain. This means that it may be distributed, so long as no charge
- other than copying costs are charged for it.
-
-
- Contact
- -------
- Any comments, queries, donations or bug reports can be sent to :
-
- Fidonet NetMail : Justin Fletcher at Arcade (0181 655 4412) [2:254/27]
- E-Mail : Gerph@arcade.demon.co.uk
-
- Snail Mail :
- Justin Fletcher
- “Galadriel”
- 17b Cromwell Road,
- Weeting,
- Brandon,
- Suffolk.
- IP27 0QT
-
-
- History
- -------
- Version 1.00 : 8th June 1995
- First version written