     HotkeysView playerInstance, songQueue, $("#play-control"), $("#next"), $("#toggle-queue"), $("#search")
     QueueView $("#toggle-queue"), queueTable, songQueue, playerInstance, playlist, viewport
     PlayerView songInfo, playerContainer, playerInstance, songQueue
+    startPlaylistView = new Date()
     PlaylistView playlist, songInfo, filesDisplay, playerInstance, songQueue, router, search, viewport
+    showElapsed "Playlist view generation", startPlaylistView
 
     $("#initial-status").remove()
 
+    searchWait = new Date()
     search.on "initialize", ->
-      end = (new Date()).getTime()
-      console.log "TOTAL #{end - START_LOAD}"
+      showElapsed "Search wait", searchWait
+      showElapsed "TOTAL", START_LOAD
       Backbone.history.start()
 
+  START_DOWNLOAD = new Date()
   $.ajax
     url: "files"
     dataType: 'json'

    bFilter: false
    bSort: false
    aaSorting: []

  table.on "filter", (event, settings) =>
    visible = []

        @_updateHeight()
      setTimeout updateCallback, RESIZE_UPDATE_DELAY

START_LOAD = new Date()
START_DOWNLOAD = null;
START_PROCESS = null;

SEARCH_WORKER = new Worker "/search.js"

