thanks a lot for pointing out 'hyperfine' and for providing this somewhat self-defeating plugin.
comparing 0.54-1 to the artifact from the iem pipeline for 618b6325 now, i get the results below. side notes:
comparison, i assume
'-send' flag than through the plugin, but this was obviously caused by outliers (although i got similar results with another 10 runs)
| version | flags | time | |---------|------------------------|-----------------------| | 0.54-1 | -nogui -send "pd quit" | 78.5 ms ± 0.6 ms | | 618b63 | -nogui -send "pd quit" | 77.9 ms ± 1.3 ms | | | | | | 0.54-1 | -send "pd quit" | 327.2 ms ± 5.6 ms | | 618b63 | -send "pd quit" | 2512.9 ms ± 1523.3 ms | | | | | | 0.54-1 | | 396.5 ms ± 4.7 ms | | 618b63 | | 2117.4 ms ± 518.0 ms |
... and a bit of system info:
Model Name: MacBook Air Model Identifier: Mac14,2 Model Number: MLY33D/A Chip: Apple M2 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 8 GB
System Version: macOS 14.5 (23F79) Kernel Version: Darwin 23.5.0
cheers, ben
Am Mo., 27. Mai 2024 um 15:08 Uhr schrieb IOhannes m zmoelnig zmoelnig@iem.at:
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":
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 _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list