Tuesday, 4 February 2003
Emacs activation script, take 3
…vate' 2.42s user 1.25s system 62% cpu 5.864 total % time appswitch -i com.gnu.emacs appswitch -i com.gnu.emacs 0.01s user 0.07s system 13% cpu 0.602 total % time appswitch -a Emacs appswitch -a Emacs 0.00s user 0.05s system 29% cpu 0.169 total The -i flag is slowest because it needs to construct a CFBundle; fast matching occurs on application name, path, process ID and creator. (Process ID matching would be fastest if I directly converted to…