AminetAminet
Search:
84512 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/ScriptSpeed.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Test script execution speed
Author:Patrik Axelsson
Uploader:patrik bo gmail com
Type:util/misc
Version:1.1
Replaces:util/misc/ScriptSpeed.lha
Architecture:m68k-amigaos >= 2.0.4
Date:2022-01-27
Download:http://aminet.net/util/misc/ScriptSpeed.lha - View contents
Readme:http://aminet.net/util/misc/ScriptSpeed.readme
Downloads:399

This tool is used to test the speed of executing a few internal AmigaDOS
commands, when used in scripts.

The reason why I am uploading this to aminet is because the results you
get correlates quite well with the perceived speed of the system in
general WB/shell use.

To give an example. A stock 3.1.4+ install on a Blizzard1260 A1200 with a
3.1 kickstart ROM will, because of the non-autoconfig memory on the
Blizzard, do the following performance-detrimental things:
- Allocate the exec.library library base from slow chipmem.
- LoadModule all OS residents/modules into chipmem.

When running ScriptSpeed on such system, it actually scores a bit less
than a stock A3000 030 at 25MHz and feels like the A3000 in general WB/shell
use.


Usage example:

1> lha -a x ScriptSpeed.lha RAM:
1> RAM:ScriptSpeed/
1> ScriptSpeed
Testname Ops/s
Echo     123
Set      134
Setenv   70

Some notes about the example:
1. The -a argument to lha is to preserve the script flags when extracting
   the archive. This is needed to run the included scripts without
   explicitly using the execute command.
2. The unit of speed is the number of operations/commands executed per
   second. So, for the echo line, it would be 123 echo commands executed
   per second.
3. The AmigaDOS script execution speed depends somewhat on the I/O speed
   of the device it is read from, so extract it to RAM: and run it from
   there to get more consistent results, when comparing between different
   systems.


Some reference results:

A3000 030 at 25MHz, default AmigaOS 3.2.1:
Testname Ops/s
Echo     123
Set      134
Setenv   70

A1200 Blizzard1260 at 50MHZ, default AmigaOS 3.2.1:
Testname Ops/s
Echo     93
Set      101
Setenv   50

A1200 Blizzard1260 at 50MHZ, AmigaOS 3.2.1 using MuTools to get all OS
residents/modules and the exec.library library base in fastmem:
Testname Ops/s
Echo     811
Set      847
Setenv   402


History:

1.1 (2022-01-27) - Fixed minimum test duration to be the intended 5s.

1.0 (2022-01-23) - Initial release.


Contents of util/misc/ScriptSpeed.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  269     628  42.8% -lh5- 43b3 Jan 23 20:56 ScriptSpeed.info
[unknown]                 1087    2208  49.2% -lh5- 94c3 Jan 27 21:54 ScriptSpeed/ReadMe
[unknown]                  214     464  46.1% -lh5- a32c Jan 23 18:32 ScriptSpeed/ReadMe.info
[unknown]                  146     302  48.3% -lh5- d63a Jan 27 21:53 ScriptSpeed/ScriptSpeed
[unknown]                  252     516  48.8% -lh5- fb43 Jan 23 18:36 ScriptSpeed/ScriptSpeed.info
[unknown]                 2350   21953  10.7% -lh5- 20f6 Jan 23 12:05 ScriptSpeed/SupportFiles/Echo1000
[unknown]                  392     678  57.8% -lh5- aeac Jan 27 21:53 ScriptSpeed/SupportFiles/OpsPerSecond
[unknown]                 2162    9961  21.7% -lh5- fe2f Jan 23 11:51 ScriptSpeed/SupportFiles/Set1000
[unknown]                 2265   12967  17.5% -lh5- 0e57 Jan 23 11:51 ScriptSpeed/SupportFiles/SetEnv1000
[unknown]                 1658    2520  65.8% -lh5- 9e35 Jan 23 13:27 ScriptSpeed/SupportFiles/time
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        10 files   10795   52197  20.7%            Jan 28 03:59

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>