Skip to content

Add timers for the performance analysis

Christopher Mark Fullarton requested to merge performanceAnalysis into staging

The timers will measure the time diff between:

  • the initial load start and the initial rendering (landing page)
  • the load time between the click on the nickname forward button or the nickname button if nicknames are predefined and the rendering of the memberlist
  • the time between routing from the memberlist to the voting view
  • the load time when clicking on the response button or the forward button in the voting view if it is a mc question and the destroyed callback of the voting view
  • the load time between destroying the voting view and rendering the live results
  • the load time between destryoing the live results view and rendering the global leaderboard

Global exposed functions:

  • GetTimerMap() => Returns all Timer instances
  • FinalizeTimers() => Persists the Timer instance values to the database
  • AnalyzeTimers() => Collects and returns all the data from the database

As soon as the attendee will enter the global leaderboard the timer data will be saved to the database. Reloading the app will delete all collected but not yet saved timers.

Merge request reports