linkedin / eyeglass

NPM Modules for Sass
741 stars 60 forks source link

Perf instrumentation #223

Closed chriseppstein closed 5 years ago

chriseppstein commented 5 years ago

Instrument eyeglass and broccoli-eyeglass for performance metrics gathering with heimdalljs.

This introduces metrics collections for the following:

Always enabled

Conditionally enabled

When the environment variable EYEGLASS_PERF_DEBUGGING is set to a non-empty string additional perf metrics are collected. These incur performance overhead and can bloat the heimdall data returned.

Heimdall nodes are added for:

A heimdall monitor named sassFns is enabled causing stats to be collected against the broccoli-eyeglass tree node: