collection_perf

🟢 Stable

This API is stable since festivald v1.0.0.


View some performance stats about the latest Collection reset.

Inputs

None

Outputs

FieldTypeDescription
bytesunsigned integerTotal size of the Collection (collection.bin only, not audio/art) in bytes
userfloatCollection creation time in seconds, for the user
sysfloatCollection creation time in seconds, for the system festivald is running on

Example Request

festival-cli collection_perf
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"collection_perf"}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "bytes": 2554823,
    "user": 0.45682073,
    "sys": 0.48661286
  },
  "id": 0
}