Skip to content

Instantly share code, notes, and snippets.

@vojtatranta
Created November 14, 2018 12:25
Show Gist options
  • Save vojtatranta/b8cb8f045ca779e1350ed8d59283e7eb to your computer and use it in GitHub Desktop.
Save vojtatranta/b8cb8f045ca779e1350ed8d59283e7eb to your computer and use it in GitHub Desktop.
documentViewPerf: createPerfFactors(({ perf }) => ({
designLoadStart() { perf.start('design_load') },
designLoadEnd() { perf.end('design_load') },
}))
// bez hezkejch metod
documentViewPerf: createPerfomanceMeasurer()
// trida
this._documentViewPerf.start('id-123')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment