Hi,
Lately I am pretty swamped in mail, so forgive me if this issue has
already been addressed in another way.
In the ongoing discussions about performance issues there is often
little hard data, but mostly "it's plenty fast", or "it's slooow".
I have cobbled up a simple C proggy that takes a text file with a
few CLI commands, and fires it at the SlimServer, timing how long it
takes for the CLI to respond.
This data has to be taken for what it is: a very imprecise, but
possibly useful ballpark figure about how fast SlimServer responds.
By using a text file for the commands, this tool is pretty flexible
in what it executes. The command line syntax:
sstime <SlimServer_IP> <CLI_port> <inputfile>
An example of the contents of an input file:
info total artists ? |Artists:|19
info total albums ? |Albums :|18
info total songs ? |Songs :|17
info total genres ? |Genres :|18
titles 0 10
titles 0 100
titles 0 1000
titles 0 10000
The first part upto the optional '|' is the CLI command. After the first
'|' a comment can be used, and after the second '|' you can specify a
char index in the result from which point on the result will be reported.
If there is no comment specified, the command executed will be shown in
the output (hopefully this makes sense).
The output of this file on my laptop (the starting value is the time in
seconds it took to execute the command):
[0.174] Artists: [241]
[0.004] Albums : [666]
[0.002] Songs : [6795]
[0.003] Genres : [47]
[0.088] titles 0 10
[0.369] titles 0 100
[3.868] titles 0 1000
[24.201] titles 0 10000
Linux binary (compiled on SuSE 9.3):
Windows binary (compiled with Studio .NET, probably requires MS Framework
to run, XP and W2K3 should be fine):
Niek.
Lately I am pretty swamped in mail, so forgive me if this issue has
already been addressed in another way.
In the ongoing discussions about performance issues there is often
little hard data, but mostly "it's plenty fast", or "it's slooow".
I have cobbled up a simple C proggy that takes a text file with a
few CLI commands, and fires it at the SlimServer, timing how long it
takes for the CLI to respond.
This data has to be taken for what it is: a very imprecise, but
possibly useful ballpark figure about how fast SlimServer responds.
By using a text file for the commands, this tool is pretty flexible
in what it executes. The command line syntax:
sstime <SlimServer_IP> <CLI_port> <inputfile>
An example of the contents of an input file:
info total artists ? |Artists:|19
info total albums ? |Albums :|18
info total songs ? |Songs :|17
info total genres ? |Genres :|18
titles 0 10
titles 0 100
titles 0 1000
titles 0 10000
The first part upto the optional '|' is the CLI command. After the first
'|' a comment can be used, and after the second '|' you can specify a
char index in the result from which point on the result will be reported.
If there is no comment specified, the command executed will be shown in
the output (hopefully this makes sense).
The output of this file on my laptop (the starting value is the time in
seconds it took to execute the command):
[0.174] Artists: [241]
[0.004] Albums : [666]
[0.002] Songs : [6795]
[0.003] Genres : [47]
[0.088] titles 0 10
[0.369] titles 0 100
[3.868] titles 0 1000
[24.201] titles 0 10000
Linux binary (compiled on SuSE 9.3):
Windows binary (compiled with Studio .NET, probably requires MS Framework
to run, XP and W2K3 should be fine):
Niek.
Comment