implement startup loading events (bug 1024014)
Merge pull request #490 from ngokevin/perfevents

implement startup loading events (bug 1024014)