Helper functions to analyze Emacs startup time