On 5/27/24 12:15, IOhannes m zmoelnig wrote:


here's what i get on my Debian system using `hyperfine` (which runs the application multiple times, to cater for disk-caching and whatnot)

| version | flags  | time                |
|---------|--------|---------------------|
| 0.54-1  |        | 131.7 ms ±  21.8 ms |
| 0.54-1  | -nogui | 4.7 ms ±   2.6 ms   |
| 618b63  |        | 38.4 ms ±   3.6 ms  |
| 618b63  | -nogui | 4.1 ms ±   2.3 ms   |


[...]

if you want to measure the time until the GUI is fully available, you probably have to use a GUI plugin that quits Pd from the GUI side.

so i went ahead and created the following GUI-plugin named "quitter-plugin.tcl":
```tcl
after idle {pdsend "pd quit"}
```

now Pd will quit once the GUI has become "idle" (right after startup). which gives me the following stats:

| version | time                |
|---------|---------------------|
| 0.54-1  | 249.9 ms ±  61.8 ms |
| 618b63  | 202.3 ms ± 119.3 ms |

so you can see, it is much slower than the naive "-send 'pd quit'" test.

Pd-0.55 is still much faster that 0.54-1, at least for me.


gdmfar
IOhannes

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to